summaryrefslogtreecommitdiff
path: root/includes/xmpmeta/xmp_const.h
blob: c32ecd95c00b33c37c87553382edafb575818d47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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