X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/68271eeaf83872270f13cc01e98960367d7d553f..f94e2c9821eb8784ca03b7122485d4720ec6d6e6:/lib/base/encoding.h diff --git a/lib/base/encoding.h b/lib/base/encoding.h new file mode 100644 index 00000000..3f107d66 --- /dev/null +++ b/lib/base/encoding.h @@ -0,0 +1,22 @@ +#ifndef __lib_base_encoding_h__ +#define __lib_base_encoding_h__ + +#include +#include +#include + +class eDVBTextEncodingHandler +{ + std::map m_CountryCodeDefaultMapping; + std::map m_TransponderDefaultMapping; + std::set m_TransponderUseTwoCharMapping; +public: + eDVBTextEncodingHandler(); + void getTransponderDefaultMapping(int tsidonid, int &table); + bool getTransponderUseTwoCharMapping(int tsidonid); + int getCountryCodeDefaultMapping( const std::string &country_code ); +}; + +extern eDVBTextEncodingHandler encodingHandler; + +#endif // __lib_base_encoding_h__ \ No newline at end of file