flags.h 439 B

1234567891011121314151617181920
  1. #pragma once
  2. #include "foundation/error.h"
  3. namespace APEv2
  4. {
  5. /*
  6. http://wiki.hydrogenaudio.org/index.php?title=Ape_Tags_Flags
  7. */
  8. enum
  9. {
  10. /* flags for header or item */
  11. FLAG_READONLY = 1,
  12. /* header/footer specific flags */
  13. FLAG_HEADER_HAS_HEADER = (1 << 31),
  14. FLAG_HEADER_NO_FOOTER = (1 << 30),
  15. FLAG_HEADER_IS_HEADER = (1 << 29),
  16. FLAG_HEADER_ENCODE_MASK = FLAG_READONLY|FLAG_HEADER_HAS_HEADER|FLAG_HEADER_NO_FOOTER,
  17. };
  18. }