summaryrefslogtreecommitdiff
path: root/libtemplate/templatefunction.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2014-12-06 10:13:06 +0100
committerlouis <louis.braun@gmx.de>2014-12-06 10:13:06 +0100
commit974ca74366af7ab022c1fb79c4d36e1e0b4e4d14 (patch)
treec45276da41b4117fa920c2fbebcc1ee8b50efaaa /libtemplate/templatefunction.h
parent7b538a7be703c70625b38644dfc8d6c04f11af2c (diff)
parent28fd2f5e1a5c88a91caeb4c7bd363dbaffad3789 (diff)
downloadvdr-plugin-skindesigner-974ca74366af7ab022c1fb79c4d36e1e0b4e4d14.tar.gz
vdr-plugin-skindesigner-974ca74366af7ab022c1fb79c4d36e1e0b4e4d14.tar.bz2
Merge branch 'master' of projects.vdr-developer.org:vdr-plugin-skindesigner
Diffstat (limited to 'libtemplate/templatefunction.h')
-rw-r--r--libtemplate/templatefunction.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libtemplate/templatefunction.h b/libtemplate/templatefunction.h
index f7af25c..59d6002 100644
--- a/libtemplate/templatefunction.h
+++ b/libtemplate/templatefunction.h
@@ -102,7 +102,10 @@ enum eOverflowType {
};
class cTemplateFunction {
+private:
+ static int nextId;
protected:
+ int id;
eFuncType type;
bool debug;
int containerX; //X of parent container
@@ -185,6 +188,7 @@ public:
//Parse parameters with dynamically set Tokens
bool ParseParameters(void);
//Getter Functions
+ int GetId(void) { return id; };
eFuncType GetType(void) { return type; };
bool DoDebug(void) { return debug; };
string GetParameter(eParamType type);