diff options
author | David Robillard <d@drobilla.net> | 2012-08-19 02:57:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-19 02:57:26 +0000 |
commit | ba1f169967f64b9657074fba2de803b29829345c (patch) | |
tree | b46baed3c4d96f2129cb58686b09b2b86d86d05e /src/client/ClientStore.cpp | |
parent | 800c329a0b77f9044923885abe0728028eca8350 (diff) | |
download | ingen-ba1f169967f64b9657074fba2de803b29829345c.tar.gz ingen-ba1f169967f64b9657074fba2de803b29829345c.tar.bz2 ingen-ba1f169967f64b9657074fba2de803b29829345c.zip |
GraphObject => Node
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4722 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/ClientStore.cpp')
-rw-r--r-- | src/client/ClientStore.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp index 6d4cbfd4..20928d33 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -165,8 +165,8 @@ ClientStore::object(const Raul::Path& path) const SharedPtr<Resource> ClientStore::_resource(const Raul::URI& uri) { - if (GraphObject::uri_is_path(uri)) { - return _object(GraphObject::uri_to_path(uri)); + if (Node::uri_is_path(uri)) { + return _object(Node::uri_to_path(uri)); } else { return _plugin(uri); } @@ -195,8 +195,8 @@ ClientStore::add_plugin(SharedPtr<PluginModel> pm) void ClientStore::del(const Raul::URI& uri) { - if (GraphObject::uri_is_path(uri)) { - remove_object(GraphObject::uri_to_path(uri)); + if (Node::uri_is_path(uri)) { + remove_object(Node::uri_to_path(uri)); } } @@ -243,13 +243,13 @@ ClientStore::put(const Raul::URI& uri, } } - if (!GraphObject::uri_is_path(uri)) { + if (!Node::uri_is_path(uri)) { _log.error(Raul::fmt("Put for unknown subject <%1%>\n") % uri.c_str()); return; } - const Raul::Path path(GraphObject::uri_to_path(uri)); + const Raul::Path path(Node::uri_to_path(uri)); SharedPtr<ObjectModel> obj = PtrCast<ObjectModel>(_object(path)); if (obj) { @@ -326,13 +326,13 @@ ClientStore::delta(const Raul::URI& uri, std::cerr << "}" << endl; #endif - if (!GraphObject::uri_is_path(uri)) { + if (!Node::uri_is_path(uri)) { _log.error(Raul::fmt("Delta for unknown subject <%1%>\n") % uri.c_str()); return; } - const Raul::Path path(GraphObject::uri_to_path(uri)); + const Raul::Path path(Node::uri_to_path(uri)); SharedPtr<ObjectModel> obj = _object(path); if (obj) { |