diff options
Diffstat (limited to 'includes/xmpmeta/xmp_const.h')
-rw-r--r-- | includes/xmpmeta/xmp_const.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/includes/xmpmeta/xmp_const.h b/includes/xmpmeta/xmp_const.h new file mode 100644 index 0000000..c32ecd9 --- /dev/null +++ b/includes/xmpmeta/xmp_const.h @@ -0,0 +1,30 @@ +#ifndef DYNAMIC_DEPTH_INCLUDES_XMPMETA_XMP_CONST_H_ // NOLINT +#define DYNAMIC_DEPTH_INCLUDES_XMPMETA_XMP_CONST_H_ // NOLINT + +namespace photos_editing_formats { + +// Constants used in writing XMP metadata. +struct XmpConst { + // XMP namespaces. + static const char* Namespace(); + static const char* NamespacePrefix(); + static const char* NodeName(); + static const char* AdobePropName(); + static const char* AdobePropValue(); + static const char* NoteNamespace(); + + // XMP headers. + static const char* Header(); + static const char* ExtensionHeader(); + static const char* HasExtensionPrefix(); + static const char* HasExtension(); + + // Sizes. + static const int ExtensionHeaderOffset(); + static const int MaxBufferSize(); + static const int ExtendedMaxBufferSize(); +}; + +} // namespace photos_editing_formats + +#endif // DYNAMIC_DEPTH_INCLUDES_XMPMETA_XMP_CONST_H_ // NOLINT |