From df9dd263f1a7be8f67a776af67cf4be1189f6616 Mon Sep 17 00:00:00 2001 From: Stefan Pöschel Date: Sat, 11 Feb 2017 10:48:54 +0100 Subject: 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 --- src/pad_common.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/pad_common.h') 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_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 { -- cgit v1.2.3