summaryrefslogtreecommitdiff
path: root/rotord/src/rotor.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-11-01 16:56:52 +0000
committerTim Redfern <tim@eclectronics.org>2013-11-01 16:56:52 +0000
commit2c74f2bf6cba53e17b5b36beacc895a121de3b4d (patch)
tree8ac67bb64835019f5d93c2a27f7c2153165c849c /rotord/src/rotor.h
parente67e0a69e8f168646076d26e7317eaec4e02058a (diff)
listnode/json
Diffstat (limited to 'rotord/src/rotor.h')
-rw-r--r--rotord/src/rotor.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h
index 50ae266..fcee9d9 100644
--- a/rotord/src/rotor.h
+++ b/rotord/src/rotor.h
@@ -243,6 +243,9 @@ namespace Rotor {
void create_attribute(const string &_attr,const string &_desc,const string &_title,const string &_value,std::vector<std::string> _vals={}) {
attributes[_attr]=new Attribute(_desc,_title,_value,_vals);
};
+ //void create_attribute(const string &_attr,const string &_desc,const string &_title,const string &_value,std::vector<std::string> _vals={}) {
+ // attributes[_attr]=new Attribute(_desc,_title,_value,_vals);
+ //};
void create_attribute(string *alias,const string &_attr,const string &_desc,const string &_title,const string &_value,std::vector<std::string> _vals={}) {
create_attribute(_attr,_desc,_title,_value,_vals);
alias=&(attributes[_attr]->value);
@@ -568,6 +571,17 @@ namespace Rotor {
Image in1,in2,in2t,temp; //for blend frames;
string *filename;
};
+ class Video_bank: public Video_loader {
+ public:
+ Video_bank(){
+ UID="73616e66-4306-11e3-981e-74d02b29f6a6";
+ };
+ Video_bank(map<string,string> &settings): Video_bank() {
+ base_settings(settings);
+ };
+ ~Video_bank(){};
+ private:
+ };
class Video_output: public Image_node {
//Video_output 'presents' the output movie. Aspect ratio, bars, fadein/fadeout would happen here
public:
@@ -696,7 +710,9 @@ namespace Rotor {
return NULL;
};
bool list_node(const string &t,xmlIO XML);
+ bool list_node(const string &t,Json::Value &JSON);
void list_node(Rotor::Node* type,xmlIO XML,int i=0);
+ Json::Value list_node(Rotor::Node* type);
void list_nodes(xmlIO XML);
void list_nodes(Json::Value &JSON);
void list_categories(xmlIO XML);