diff options
author | David Robillard <d@drobilla.net> | 2008-08-17 03:10:58 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-17 03:10:58 +0000 |
commit | d6823fa9b29bcff74ca180e6d389d8a21cf88d1f (patch) | |
tree | b79dcfd907f83f035d657964d26b578c85ef0de2 /src/libs/client/SigClientInterface.hpp | |
parent | 694b31089c8060fc6b908b146b12c0e340d004c7 (diff) | |
download | ingen-d6823fa9b29bcff74ca180e6d389d8a21cf88d1f.tar.gz ingen-d6823fa9b29bcff74ca180e6d389d8a21cf88d1f.tar.bz2 ingen-d6823fa9b29bcff74ca180e6d389d8a21cf88d1f.zip |
There!
Loader uses only CommonInterface and is now able to parse into a client or engine.
Proper OSC serialisation of boolean atoms.
Remove patch_enabled and patch_disabled calls/signals/etc in favour of new generic "property" mechanism (courtesy of which much more killed API is to come).
git-svn-id: http://svn.drobilla.net/lad/ingen@1410 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/SigClientInterface.hpp')
-rw-r--r-- | src/libs/client/SigClientInterface.hpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/libs/client/SigClientInterface.hpp b/src/libs/client/SigClientInterface.hpp index 6463bf3a..6318f440 100644 --- a/src/libs/client/SigClientInterface.hpp +++ b/src/libs/client/SigClientInterface.hpp @@ -57,8 +57,6 @@ public: sigc::signal<void, string, string, bool> signal_new_node; sigc::signal<void, string, uint32_t, string, bool> signal_new_port; sigc::signal<void, string, bool> signal_polyphonic; - sigc::signal<void, string> signal_patch_enabled; - sigc::signal<void, string> signal_patch_disabled; sigc::signal<void, string, uint32_t> signal_patch_polyphony; sigc::signal<void, string> signal_patch_cleared; sigc::signal<void, string, string> signal_object_renamed; @@ -66,6 +64,7 @@ public: sigc::signal<void, string, string> signal_connection; sigc::signal<void, string, string> signal_disconnection; sigc::signal<void, string, string, Raul::Atom> signal_variable_change; + sigc::signal<void, string, string, Raul::Atom> signal_property_change; sigc::signal<void, string, Raul::Atom> signal_port_value; sigc::signal<void, string, uint32_t, Raul::Atom> signal_voice_value; sigc::signal<void, string> signal_port_activity; @@ -125,12 +124,6 @@ protected: void object_destroyed(const string& path) { if (_enabled) signal_object_destroyed.emit(path); } - void patch_enabled(const string& path) - { if (_enabled) signal_patch_enabled.emit(path); } - - void patch_disabled(const string& path) - { if (_enabled) signal_patch_disabled.emit(path); } - void patch_polyphony(const string& path, uint32_t poly) { if (_enabled) signal_patch_polyphony.emit(path, poly); } @@ -145,6 +138,9 @@ protected: void set_variable(const string& path, const string& key, const Raul::Atom& value) { if (_enabled) signal_variable_change.emit(path, key, value); } + + void set_property(const string& path, const string& key, const Raul::Atom& value) + { if (_enabled) signal_property_change.emit(path, key, value); } void set_port_value(const string& port_path, const Raul::Atom& value) { if (_enabled) signal_port_value.emit(port_path, value); } |