diff options
author | David Robillard <d@drobilla.net> | 2011-04-18 12:47:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-18 12:47:15 +0000 |
commit | 8ba6bb943889bfdd58cf4a971a152041c1199cfe (patch) | |
tree | 91fbe8577e6d01070aa81f532ddd8102db1476f5 /src/client/ClientStore.cpp | |
parent | 3cd3bfe5079f84fafb7dc217f5393d6ba947109c (diff) | |
download | ingen-8ba6bb943889bfdd58cf4a971a152041c1199cfe.tar.gz ingen-8ba6bb943889bfdd58cf4a971a152041c1199cfe.tar.bz2 ingen-8ba6bb943889bfdd58cf4a971a152041c1199cfe.zip |
Put engine code in new Ingen::Engine namespace.
Put core interfaces in Ingen namespace (not Ingen::Shared).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3159 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 7f3f78e0..32e115e6 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -43,7 +43,7 @@ using namespace Shared; namespace Client { ClientStore::ClientStore(SharedPtr<Shared::LV2URIMap> uris, - SharedPtr<Shared::EngineInterface> engine, + SharedPtr<EngineInterface> engine, SharedPtr<SigClientInterface> emitter) : _uris(uris) , _engine(engine) @@ -101,7 +101,7 @@ ClientStore::add_object(SharedPtr<ObjectModel> object) } - typedef Shared::Resource::Properties::const_iterator Iterator; + typedef Resource::Properties::const_iterator Iterator; for (Iterator i = object->properties().begin(); i != object->properties().end(); ++i) object->signal_property(i->first, i->second); @@ -177,7 +177,7 @@ ClientStore::object(const Path& path) } } -SharedPtr<Shared::Resource> +SharedPtr<Resource> ClientStore::resource(const URI& uri) { if (Path::is_path(uri)) @@ -220,14 +220,14 @@ ClientStore::move(const Path& old_path_str, const Path& new_path_str) return; } - typedef Table<Path, SharedPtr<Shared::GraphObject> > Removed; + typedef Table<Path, SharedPtr<GraphObject> > Removed; iterator end = find_descendants_end(parent); SharedPtr<Removed> removed = yank(parent, end); assert(removed->size() > 0); - typedef Table<Path, SharedPtr<Shared::GraphObject> > PathTable; + typedef Table<Path, SharedPtr<GraphObject> > PathTable; for (PathTable::iterator i = removed->begin(); i != removed->end(); ++i) { const Path& child_old_path = i->first; assert(Path::descendant_comparator(old_path, child_old_path)); @@ -247,9 +247,9 @@ ClientStore::move(const Path& old_path_str, const Path& new_path_str) } void -ClientStore::put(const URI& uri, - const Shared::Resource::Properties& properties, - Shared::Resource::Graph ctx) +ClientStore::put(const URI& uri, + const Resource::Properties& properties, + Resource::Graph ctx) { typedef Resource::Properties::const_iterator Iterator; #ifdef INGEN_CLIENT_STORE_DUMP |