summaryrefslogtreecommitdiffstats
path: root/src/libs/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-09-09 21:42:33 +0000
committerDavid Robillard <d@drobilla.net>2006-09-09 21:42:33 +0000
commita90181962d3f9eca3e00f665465bbd66bdd79927 (patch)
treebcebc1dc25b788cbd647f70068cd6d1ff40ac722 /src/libs/client
parentfca95e5d454d37bd74b98f5bce35cfcbaee86c3f (diff)
downloadingen-a90181962d3f9eca3e00f665465bbd66bdd79927.tar.gz
ingen-a90181962d3f9eca3e00f665465bbd66bdd79927.tar.bz2
ingen-a90181962d3f9eca3e00f665465bbd66bdd79927.zip
Canvas cleanups, bugfixes, more robustness, etc.
git-svn-id: http://svn.drobilla.net/lad/ingen@124 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client')
-rw-r--r--src/libs/client/Store.cpp1
-rw-r--r--src/libs/client/Store.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/client/Store.cpp b/src/libs/client/Store.cpp
index 71dc06a2..ef1b7283 100644
--- a/src/libs/client/Store.cpp
+++ b/src/libs/client/Store.cpp
@@ -62,6 +62,7 @@ Store::add_object(CountedPtr<ObjectModel> object)
m_objects[object->path()] = object;
+ new_object_sig.emit(object);
//cout << "[Store] Added " << object->path() << endl;
}
diff --git a/src/libs/client/Store.h b/src/libs/client/Store.h
index 8407c9fb..44ca5c70 100644
--- a/src/libs/client/Store.h
+++ b/src/libs/client/Store.h
@@ -55,6 +55,7 @@ public:
const map<string, CountedPtr<PluginModel> >& plugins() const { return m_plugins; }
+ sigc::signal<void, CountedPtr<ObjectModel> > new_object_sig;
private:
void add_object(CountedPtr<ObjectModel> object);