diff options
Diffstat (limited to 'libtemplate')
| -rw-r--r-- | libtemplate/globals.h | 3 | ||||
| -rw-r--r-- | libtemplate/templateview.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libtemplate/globals.h b/libtemplate/globals.h index 09c9756..17f5242 100644 --- a/libtemplate/globals.h +++ b/libtemplate/globals.h @@ -31,7 +31,8 @@ public: map <string, string> stringVars; map <string, string> fonts; map <string, map< string, string > > translations; - map <string, string> customTokens; + map <string, string> customStringTokens; + map <string, int> customIntTokens; bool ReadFromXML(void); bool Translate(string text, string &translation); void Debug(void); diff --git a/libtemplate/templateview.h b/libtemplate/templateview.h index 20f1c51..1ad5734 100644 --- a/libtemplate/templateview.h +++ b/libtemplate/templateview.h @@ -105,7 +105,8 @@ public: int GetNumPixmapsViewElement(eViewElement ve); int GetNumListViewMenuItems(void); bool GetScalingWindow(cRect &scalingWindow); - map<string,string> GetCustomTokens(void) { return globals->customTokens; }; + map<string,string> GetCustomStringTokens(void) { return globals->customStringTokens; }; + map<string,int> GetCustomIntTokens(void) { return globals->customIntTokens; }; //Checks for parsing template XML files bool ValidSubView(const char *subView); bool ValidViewElement(const char *viewElement); |
