summaryrefslogtreecommitdiff
path: root/xml/string.h
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2005-01-15 20:54:37 +0000
committerlordjaxom <lordjaxom>2005-01-15 20:54:37 +0000
commitf12c23cf36eb930c2dfa5ffaa7f995945b992c73 (patch)
tree5a2c86ebfc50fa21e49e4b97b67be5474458101d /xml/string.h
parent4360824376109682b28821331f46617c180821f0 (diff)
downloadvdr-plugin-text2skin-f12c23cf36eb930c2dfa5ffaa7f995945b992c73.tar.gz
vdr-plugin-text2skin-f12c23cf36eb930c2dfa5ffaa7f995945b992c73.tar.bz2
- implemented variable translation
Diffstat (limited to 'xml/string.h')
-rw-r--r--xml/string.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/xml/string.h b/xml/string.h
index 7fe7be7..8cd849d 100644
--- a/xml/string.h
+++ b/xml/string.h
@@ -1,5 +1,5 @@
/*
- * $Id: string.h,v 1.9 2005/01/11 18:18:31 lordjaxom Exp $
+ * $Id: string.h,v 1.10 2005/01/15 20:54:37 lordjaxom Exp $
*/
#ifndef VDR_TEXT2SKIN_XML_STRING_H
@@ -180,15 +180,15 @@ private:
std::string mOriginal;
std::vector<txToken> mTokens;
cxSkin *mSkin;
+ bool mTranslate;
public:
static void Reparse(void);
- cxString(cxSkin *Skin);
+ cxString(cxSkin *Skin, bool Translate);
~cxString();
- bool Parse(const std::string &Text);
- bool Parse(void) { return mOriginal.length() > 0 ? Parse(mOriginal) : true; }
+ bool Parse(const std::string &Text, bool Translate = false);
cxType Evaluate(void) const;
void SetListIndex(uint Index, int Tab);