diff options
author | lordjaxom <lordjaxom> | 2005-01-05 19:32:43 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2005-01-05 19:32:43 +0000 |
commit | 43f57cb99f43a91285ef5df6bd36b3bda5dd719a (patch) | |
tree | 606490e3b1ba0186e82e7f3e7c23b6c99b29650b /xml/function.h | |
parent | 180e1063acbb8cedbd4831d7070429dc6d429457 (diff) | |
download | vdr-plugin-text2skin-43f57cb99f43a91285ef5df6bd36b3bda5dd719a.tar.gz vdr-plugin-text2skin-43f57cb99f43a91285ef5df6bd36b3bda5dd719a.tar.bz2 |
- extended consequent use of cxType for strings and numbers in
function/string context
Diffstat (limited to 'xml/function.h')
-rw-r--r-- | xml/function.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/xml/function.h b/xml/function.h index 9aee4c2..afc3465 100644 --- a/xml/function.h +++ b/xml/function.h @@ -1,5 +1,5 @@ /* - * $Id: function.h,v 1.4 2005/01/02 20:33:20 lordjaxom Exp $ + * $Id: function.h,v 1.5 2005/01/05 19:32:43 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_XML_FUNCTION_H @@ -43,8 +43,8 @@ private: uint mNumParams; protected: - const std::string &FunFile(const std::string &Param) const; - std::string FunPlugin(const std::string &Param) const; + cxType FunFile (const cxType &Param) const; + cxType FunPlugin(const cxType &Param) const; public: cxFunction(cxSkin *Skin); @@ -53,8 +53,7 @@ public: ~cxFunction(); bool Parse(const std::string &Text); - std::string Evaluate(void) const; - bool EvaluateToBool(void); + cxType Evaluate(void) const; void SetListIndex(uint Index, int Tab); }; |