summaryrefslogtreecommitdiffstats
path: root/src/client/ClientStore.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-13 03:02:06 +0000
committerDavid Robillard <d@drobilla.net>2011-05-13 03:02:06 +0000
commit6bb7a6d9818210511c231b6ac09c051bcd3c564b (patch)
tree43d8d3749c4e079137c4aaaa4cec29f21c774d29 /src/client/ClientStore.hpp
parent198560d5fd499ab14eb4e130ee74e21fa86674a4 (diff)
downloadingen-6bb7a6d9818210511c231b6ac09c051bcd3c564b.tar.gz
ingen-6bb7a6d9818210511c231b6ac09c051bcd3c564b.tar.bz2
ingen-6bb7a6d9818210511c231b6ac09c051bcd3c564b.zip
Make ClientStore::plugin and ClientStore::resource const-correct.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3260 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/ClientStore.hpp')
-rw-r--r--src/client/ClientStore.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client/ClientStore.hpp b/src/client/ClientStore.hpp
index 32b66484..a01a9dc6 100644
--- a/src/client/ClientStore.hpp
+++ b/src/client/ClientStore.hpp
@@ -61,10 +61,9 @@ public:
SharedPtr<ServerInterface> engine=SharedPtr<ServerInterface>(),
SharedPtr<SigClientInterface> emitter=SharedPtr<SigClientInterface>());
- SharedPtr<PluginModel> plugin(const Raul::URI& uri);
- SharedPtr<Resource> resource(const Raul::URI& uri);
-
SharedPtr<const ObjectModel> object(const Raul::Path& path) const;
+ SharedPtr<const PluginModel> plugin(const Raul::URI& uri) const;
+ SharedPtr<const Resource> resource(const Raul::URI& uri) const;
void clear();
@@ -111,6 +110,8 @@ private:
void add(GraphObject* o) { throw; }
SharedPtr<ObjectModel> _object(const Raul::Path& path);
+ SharedPtr<PluginModel> _plugin(const Raul::URI& uri);
+ SharedPtr<Resource> _resource(const Raul::URI& uri);
void add_object(SharedPtr<ObjectModel> object);
SharedPtr<ObjectModel> remove_object(const Raul::Path& path);