diff options
Diffstat (limited to 'NT/src/rotor.cpp')
| -rw-r--r-- | NT/src/rotor.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/NT/src/rotor.cpp b/NT/src/rotor.cpp index 6380f28..2909255 100644 --- a/NT/src/rotor.cpp +++ b/NT/src/rotor.cpp @@ -67,8 +67,9 @@ Json::Value Node::to_json(){ //factory generates linker errors if rotor.h implementation is seperated: why? -int main(){ - Node_factory f; + +//int main(){ +// Node_factory f; /* map<string,string> settings={{"node_type","time"}}; Node *t=f.create(settings); @@ -86,8 +87,8 @@ int main(){ delete m; delete p; */ - Rotor::Render_context r("dbbbb4ba-8430-11e3-9774-74d02b29f6a6"); - cerr<<(r.graph.load_file("testgraph.json","./")?"loaded ":"could not load ")<<"testgraph.json"<<endl; +// Rotor::Render_context r("dbbbb4ba-8430-11e3-9774-74d02b29f6a6"); +// cerr<<(r.graph.load_file("testgraph.json","./")?"loaded ":"could not load ")<<"testgraph.json"<<endl; /* Json::Value js; f.list_node("time",js); @@ -101,7 +102,7 @@ int main(){ //now need a way to grab output - printf("%s\n",r.text_render().c_str()); +// printf("%s\n",r.text_render().c_str()); -} +//} |
