summaryrefslogtreecommitdiff
path: root/rotord/src/rotor.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-12-11 14:12:48 +0000
committerTim Redfern <tim@eclectronics.org>2013-12-11 14:12:48 +0000
commit1bae3f889b11933353d4ef31c692c9b7cb9f5047 (patch)
tree0f3e97e82d861482bd3b6f37e47dc718c8842ab2 /rotord/src/rotor.h
parent328453e61a8992729c0ecc661ad324b63af6b41d (diff)
prototypes for UI number types
Diffstat (limited to 'rotord/src/rotor.h')
-rw-r--r--rotord/src/rotor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h
index 766802f..0013313 100644
--- a/rotord/src/rotor.h
+++ b/rotord/src/rotor.h
@@ -338,7 +338,7 @@ namespace Rotor {
};
class Node{
public:
- Node(){duplicate_inputs=false;};
+ Node(){duplicate_inputs=false;UItype="";};
virtual Node* clone(map<string,string> &_settings)=0; //pure virtual
virtual ~Node(){
for (auto a: attributes) delete a.second;
@@ -379,6 +379,7 @@ namespace Rotor {
string ID;
string NODEID;
string title;
+ string UItype;
bool duplicate_inputs;
string find_setting(map<string,string> &settings,string key,string def=""){ if (settings.find(key)!=settings.end()) return settings[key]; else return def;};
double find_setting(map<string,string> &settings,string key,double def){ if (settings.find(key)!=settings.end()) return toFloat(settings[key]); else return def;};