diff options
author | David Robillard <d@drobilla.net> | 2009-05-13 06:42:40 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-13 06:42:40 +0000 |
commit | 44ddb73018b96a6979b4339f4ba234e5c97741f8 (patch) | |
tree | 7a7de53041e7ddd583059025a817ce2c118bfc66 /src/shared | |
parent | a95e08e48c2d1f68693609627c6d6f52c6982264 (diff) | |
download | ingen-44ddb73018b96a6979b4339f4ba234e5c97741f8.tar.gz ingen-44ddb73018b96a6979b4339f4ba234e5c97741f8.tar.bz2 ingen-44ddb73018b96a6979b4339f4ba234e5c97741f8.zip |
Use new query system to get LADSPA plugin names from the engine.
Fixes ticket #365.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1998 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/ResourceImpl.cpp | 1 | ||||
-rw-r--r-- | src/shared/ResourceImpl.hpp | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/ResourceImpl.cpp b/src/shared/ResourceImpl.cpp index d2c1a06b..e8fbec35 100644 --- a/src/shared/ResourceImpl.cpp +++ b/src/shared/ResourceImpl.cpp @@ -26,6 +26,7 @@ void ResourceImpl::set_property(const Raul::URI& uri, const Raul::Atom& value) { _properties[uri] = value; + signal_property.emit(uri, value); } diff --git a/src/shared/ResourceImpl.hpp b/src/shared/ResourceImpl.hpp index ca588d8f..9cddbbf6 100644 --- a/src/shared/ResourceImpl.hpp +++ b/src/shared/ResourceImpl.hpp @@ -19,6 +19,7 @@ #define RESOURCEIMPL_HPP #include <map> +#include <sigc++/sigc++.h> #include "raul/URI.hpp" #include "interface/Resource.hpp" @@ -39,6 +40,8 @@ public: const Raul::Atom& get_property(const Raul::URI& uri) const; void set_property(const Raul::URI& uri, const Raul::Atom& value); + sigc::signal<void, const Raul::URI&, const Raul::Atom&> signal_property; + private: Raul::URI _uri; Properties _properties; |