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