#ifndef __XMLGLOBALS_H #define __XMLGLOBALS_H #include #include #include #include #include #include #include #include #include #include using namespace std; typedef uint32_t tColor; // --- cGlobals ------------------------------------------------------------- class cGlobals { private: string language; string DoTranslate(string token); public: cGlobals(void); virtual ~cGlobals(void) {}; map colors; map intVars; map doubleVars; map stringVars; map fonts; map > translations; map customStringTokens; map customIntTokens; bool ReadFromXML(void); bool Translate(string text, string &translation); void Debug(void); }; #endif //__XMLGLOBALS_H