diff options
Diffstat (limited to 'src/libs/client')
-rw-r--r-- | src/libs/client/Store.cpp | 1 | ||||
-rw-r--r-- | src/libs/client/Store.h | 1 |
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); |