diff options
author | David Robillard <d@drobilla.net> | 2011-05-13 01:22:29 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-13 01:22:29 +0000 |
commit | 981c7950a6f5fc9f22decaee261556d20b641d5c (patch) | |
tree | 326c2256d5876e3c55ec2fb9ea13c4a04f29bf0b /src/client/PluginModel.hpp | |
parent | eae8f927dbf4913c7cb72605af5da0763f7be422 (diff) | |
download | ingen-981c7950a6f5fc9f22decaee261556d20b641d5c.tar.gz ingen-981c7950a6f5fc9f22decaee261556d20b641d5c.tar.bz2 ingen-981c7950a6f5fc9f22decaee261556d20b641d5c.zip |
Make signals private with accessors, and localise dependency on sigc::signal.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3258 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/PluginModel.hpp')
-rw-r--r-- | src/client/PluginModel.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/client/PluginModel.hpp b/src/client/PluginModel.hpp index faba8c8b..e301c615 100644 --- a/src/client/PluginModel.hpp +++ b/src/client/PluginModel.hpp @@ -18,8 +18,6 @@ #ifndef INGEN_CLIENT_PLUGINMODEL_HPP #define INGEN_CLIENT_PLUGINMODEL_HPP -#include <sigc++/sigc++.h> - #include "raul/SharedPtr.hpp" #include "raul/Symbol.hpp" @@ -34,6 +32,7 @@ #include "ingen/Plugin.hpp" #include "shared/World.hpp" #include "shared/ResourceImpl.hpp" +#include "client/signal.hpp" namespace Ingen { @@ -99,8 +98,8 @@ public: static Sord::World* rdf_world() { return _rdf_world; } // Signals - sigc::signal<void> signal_changed; - sigc::signal<void, const Raul::URI&, const Raul::Atom&> signal_property; + INGEN_SIGNAL(changed, void); + INGEN_SIGNAL(property, void, const Raul::URI&, const Raul::Atom&); protected: friend class ClientStore; |