diff options
author | lordjaxom <lordjaxom> | 2005-01-01 23:44:36 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2005-01-01 23:44:36 +0000 |
commit | 4e0b98bf0cca1afa86b8c655c490392a70b56b36 (patch) | |
tree | 3bd0c33e090c67cbf948c9336317e4fdb175d9fa /xml/string.h | |
parent | 929d806fbc6c2d05317cd7357861d371a29c290f (diff) | |
download | vdr-plugin-text2skin-4e0b98bf0cca1afa86b8c655c490392a70b56b36.tar.gz vdr-plugin-text2skin-4e0b98bf0cca1afa86b8c655c490392a70b56b36.tar.bz2 |
- some formatting issues
- moved translation to skin object
Diffstat (limited to 'xml/string.h')
-rw-r--r-- | xml/string.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/xml/string.h b/xml/string.h index f441c9f..e97b5d4 100644 --- a/xml/string.h +++ b/xml/string.h @@ -1,5 +1,5 @@ /* - * $Id: string.h,v 1.4 2004/12/28 01:24:35 lordjaxom Exp $ + * $Id: string.h,v 1.5 2005/01/01 23:44:36 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_XML_STRING_H @@ -164,15 +164,20 @@ inline bool operator< (const txToken &A, const txToken &B) : A.Type < B.Type; } +class cxSkin; + class cxString { private: std::string mText; + std::string mOriginal; std::vector<txToken> mTokens; + cxSkin *mSkin; public: - cxString(void); + cxString(cxSkin *Skin); bool Parse(const std::string &Text); + bool Parse(void) { return Parse(mOriginal); } cxType Evaluate(void) const; void SetListIndex(uint Index, int Tab); |