From f12c23cf36eb930c2dfa5ffaa7f995945b992c73 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Sat, 15 Jan 2005 20:54:37 +0000 Subject: - implemented variable translation --- xml/string.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xml/string.h') 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 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); -- cgit v1.2.3