1
0

values.h 459 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include "foundation/types.h"
  3. /* benski>
  4. This is where we encapsulate all data.
  5. Everything is implemented by a function that accepts a version and revision.
  6. */
  7. namespace ID3v2
  8. {
  9. namespace Values
  10. {
  11. enum
  12. {
  13. MIN_VERSION = 2,
  14. MAX_VERSION = 4,
  15. };
  16. bool KnownVersion(uint8_t version, uint8_t revision);
  17. uint8_t ValidHeaderMask(uint8_t version, uint8_t revision);
  18. uint8_t ExtendedHeaderFlag(uint8_t version, uint8_t revision);
  19. }
  20. };