diff options
author | lordjaxom <lordjaxom> | 2004-12-08 18:48:39 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2004-12-08 18:48:39 +0000 |
commit | 5382d18d05d358bb1c313c642395e835aa44a6a0 (patch) | |
tree | 2b5ef58620b3640c5b21e8eafe92ee4b266b1d30 /theme.h | |
parent | eb2f2c9600e8f69788232582191b141002bcd522 (diff) | |
download | vdr-plugin-text2skin-5382d18d05d358bb1c313c642395e835aa44a6a0.tar.gz vdr-plugin-text2skin-5382d18d05d358bb1c313c642395e835aa44a6a0.tar.bz2 |
1.0-pre1v1.0-pre1
Diffstat (limited to 'theme.h')
-rw-r--r-- | theme.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,5 +1,5 @@ /* - * $Id: theme.h,v 1.1 2004/06/02 20:43:05 lordjaxom Exp $ + * $Id: theme.h,v 1.1.1.1 2004/11/19 16:45:31 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_THEME_H @@ -7,12 +7,13 @@ #include "common.h" #include "file.h" +#include <map> #include <vdr/themes.h> class cText2SkinTheme: public cText2SkinFile { private: - cTheme mTheme; - map<string,int> mMap; + cTheme mTheme; + std::map<std::string,int> mMap; protected: bool Parse(const char *Text); @@ -22,10 +23,10 @@ public: virtual ~cText2SkinTheme(); cTheme *Theme(void) { return &mTheme; } - tColor Color(const string &Name); + tColor Color(const std::string &Name); }; -inline tColor cText2SkinTheme::Color(const string &Name) { +inline tColor cText2SkinTheme::Color(const std::string &Name) { if (mMap.find(Name) != mMap.end()) return mTheme.Color(mMap[Name]); else |