diff options
author | Stefan Pöschel <github@basicmaster.de> | 2017-02-11 10:48:54 +0100 |
---|---|---|
committer | Stefan Pöschel <github@basicmaster.de> | 2017-02-11 10:57:21 +0100 |
commit | df9dd263f1a7be8f67a776af67cf4be1189f6616 (patch) | |
tree | 2d13a1ac7d156261f787c24ef54e6b28770cdab9 /src/pad_common.h | |
parent | 07be2a291ec5a235c881bac43fae80de6903d35d (diff) | |
download | ODR-PadEnc-df9dd263f1a7be8f67a776af67cf4be1189f6616.tar.gz ODR-PadEnc-df9dd263f1a7be8f67a776af67cf4be1189f6616.tar.bz2 ODR-PadEnc-df9dd263f1a7be8f67a776af67cf4be1189f6616.zip |
Slight refactorings
- DLSManager: store PADPacketizer ref
- DABCharset: convert enum to enum class
- DL cmd prefix: output reserved instead of charset (does not make a difference)
- MOT header: get charset from enum class
- .gitignore: add Eclipse files
Diffstat (limited to 'src/pad_common.h')
-rw-r--r-- | src/pad_common.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pad_common.h b/src/pad_common.h index e855625..71e7b76 100644 --- a/src/pad_common.h +++ b/src/pad_common.h @@ -46,6 +46,15 @@ typedef std::vector<uint8_t> uint8_vector_t; typedef uint8_vector_t pad_t; +// Charsets from TS 101 756 +enum class DABCharset : uint8_t { + COMPLETE_EBU_LATIN = 0, //!< Complete EBU Latin based repertoire + EBU_LATIN_CY_GR = 1, //!< EBU Latin based common core, Cyrillic, Greek + EBU_LATIN_AR_HE_CY_GR = 2, //!< EBU Latin based core, Arabic, Hebrew, Cyrillic and Greek + ISO_LATIN_ALPHABET_2 = 3, //!< ISO Latin Alphabet No 2 + UCS2_BE = 6, //!< ISO/IEC 10646 using UCS-2 transformation format, big endian byte order + UTF8 = 15 //!< ISO Latin Alphabet No 2 +}; // --- DATA_GROUP ----------------------------------------------------------------- struct DATA_GROUP { |