Debian Codegraph @

src/LanguageContainer.hpp

raw
1 // For all support, instructions and copyright go to:
2 // http://e2guardian.org/
3 // Released under the GPL v2, with the OpenSSL exception described in the README file.
4
5 #ifndef __HPP_LANGUAGECONTAINER
6 #define __HPP_LANGUAGECONTAINER
7
8 // INCLUDES
9 #include <deque>
10
11 #include "String.hpp"
12
13 // DECLARATIONS
14
15 class LanguageContainer
16 {
17 public:
18 void reset();
19
20 bool readLanguageList(const char *filename);
21
22 //const char *getTranslation(const unsigned int index);
23 std::string getTranslation(const unsigned int index);
24
25 private:
26 std::deque<unsigned int> keys;
27 std::deque<String> values;
28 };
29
30 #endif