leave update plugin with ok button after the update process (we entered it with ok...
[enigma2.git] / lib / base / encoding.h
1 #ifndef __lib_base_encoding_h__
2 #define __lib_base_encoding_h__
3
4 #include <string>
5 #include <set>
6 #include <map>
7
8 class eDVBTextEncodingHandler
9 {
10         std::map<std::string, int> m_CountryCodeDefaultMapping;
11         std::map<int, int> m_TransponderDefaultMapping;
12         std::set<int> m_TransponderUseTwoCharMapping;
13 public:
14         eDVBTextEncodingHandler();
15         void getTransponderDefaultMapping(int tsidonid, int &table);
16         bool getTransponderUseTwoCharMapping(int tsidonid);
17         int getCountryCodeDefaultMapping( const std::string &country_code );
18 };
19
20 extern eDVBTextEncodingHandler encodingHandler;
21
22 #endif // __lib_base_encoding_h__