diff options
| author | Tim Redfern <tim@eclectronics.org> | 2014-01-22 17:37:11 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2014-01-22 17:37:11 +0000 |
| commit | a897d2e0ba7744c818eed46441347cfb4f384613 (patch) | |
| tree | b6f0e686c190657ca878b841d150522efd1387b8 /NT/src/graph.h | |
| parent | a879f37ff944cd7bf502f4e3520b7da3d8faf39b (diff) | |
graph connections working, beginning render context
Diffstat (limited to 'NT/src/graph.h')
| -rw-r--r-- | NT/src/graph.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/NT/src/graph.h b/NT/src/graph.h index 9213d71..7aa0318 100644 --- a/NT/src/graph.h +++ b/NT/src/graph.h @@ -19,12 +19,11 @@ namespace Rotor { class Graph{ public: Graph(){init();}; - Graph(const std::string& _uid,const std::string& _desc){ - init(_uid,_desc); + Graph(const std::string& _id){ + init(_id); }; - void init(const std::string& _uid="",const std::string& _desc=""){ - uid=_uid; - description=_desc; + void init(const std::string& _id=""){ + id=_id; loaded=false; audio_loaded=false; cancelled=false; @@ -71,8 +70,7 @@ namespace Rotor { //Audio_thumbnailer *audio_thumb; private: - std::string uid; - std::string description; + std::string id; std::unordered_map<std::string,Node*> nodes; }; |
