1 #include "xmpmeta/xmp_const.h" 2 3 namespace dynamic_depth { 4 namespace xmpmeta { 5 6 // XMP namespace constants. Namespace()7const char* XmpConst::Namespace() { return "adobe:ns:meta/"; } 8 NamespacePrefix()9const char* XmpConst::NamespacePrefix() { return "x"; } 10 NodeName()11const char* XmpConst::NodeName() { return "xmpmeta"; } 12 AdobePropName()13const char* XmpConst::AdobePropName() { return "xmptk"; } 14 AdobePropValue()15const char* XmpConst::AdobePropValue() { return "Adobe XMP"; } 16 NoteNamespace()17const char* XmpConst::NoteNamespace() { 18 return "http://ns.adobe.com/xmp/note/"; 19 } 20 21 // XMP headers. Header()22const char* XmpConst::Header() { return "http://ns.adobe.com/xap/1.0/"; } 23 ExtensionHeader()24const char* XmpConst::ExtensionHeader() { 25 return "http://ns.adobe.com/xmp/extension/"; 26 } 27 HasExtensionPrefix()28const char* XmpConst::HasExtensionPrefix() { return "xmpNote"; } 29 HasExtension()30const char* XmpConst::HasExtension() { return "HasExtendedXMP"; } 31 32 // Sizes. ExtensionHeaderOffset()33const int XmpConst::ExtensionHeaderOffset() { return 8; } 34 MaxBufferSize()35const int XmpConst::MaxBufferSize() { return 65502; } 36 ExtendedMaxBufferSize()37const int XmpConst::ExtendedMaxBufferSize() { return 65458; } 38 39 } // namespace xmpmeta 40 } // namespace dynamic_depth 41