X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fstl_binary_tables.h;h=46214135f0b616a737e2c00fefaf2683c7c83221;hb=refs%2Fheads%2Fmain;hp=1ce7d62b0e347d5d33fce75dba28826c13dba893;hpb=df5e7ee155351ecd6e7ef52b1764149b5fcb258a;p=libsub.git diff --git a/src/stl_binary_tables.h b/src/stl_binary_tables.h index 1ce7d62..4621413 100644 --- a/src/stl_binary_tables.h +++ b/src/stl_binary_tables.h @@ -17,6 +17,9 @@ */ +#ifndef LIBSUB_STL_BINARY_TABLES_H +#define LIBSUB_STL_BINARY_TABLES_H + #include #include #include @@ -29,13 +32,14 @@ enum DisplayStandard { DISPLAY_STANDARD_LEVEL_1_TELETEXT, DISPLAY_STANDARD_LEVEL_2_TELETEXT }; - + enum LanguageGroup { LANGUAGE_GROUP_LATIN, LANGUAGE_GROUP_LATIN_CYRILLIC, LANGUAGE_GROUP_LATIN_ARABIC, LANGUAGE_GROUP_LATIN_GREEK, - LANGUAGE_GROUP_LATIN_HEBREW + LANGUAGE_GROUP_LATIN_HEBREW, + LANGUAGE_GROUP_UTF8, }; enum Language { @@ -183,7 +187,7 @@ public: : value (v) , description (d) {} - + T value; std::string description; }; @@ -219,7 +223,7 @@ public: boost::optional language_description_to_enum (std::string) const; -private: +private: std::map > _display_standard_map; std::map > _language_group_map; std::map > _language_map; @@ -230,3 +234,5 @@ private: }; } + +#endif