diff options
Diffstat (limited to 'src/libs/client/SigClientInterface.hpp')
-rw-r--r-- | src/libs/client/SigClientInterface.hpp | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/src/libs/client/SigClientInterface.hpp b/src/libs/client/SigClientInterface.hpp index 7e020ca2..bdfdd783 100644 --- a/src/libs/client/SigClientInterface.hpp +++ b/src/libs/client/SigClientInterface.hpp @@ -43,29 +43,29 @@ public: // Signal parameters match up directly with ClientInterface calls - sigc::signal<void, int32_t> response_ok_sig; - sigc::signal<void, int32_t, string> response_error_sig; - sigc::signal<void> bundle_begin_sig; - sigc::signal<void> bundle_end_sig; - sigc::signal<void, string> error_sig; - sigc::signal<void, uint32_t> num_plugins_sig; - sigc::signal<void, string, string, string> new_plugin_sig; - sigc::signal<void, string, uint32_t> new_patch_sig; - sigc::signal<void, string, string, bool, uint32_t> new_node_sig; - sigc::signal<void, string, string, bool> new_port_sig; - sigc::signal<void, string, bool> polyphonic_sig; - sigc::signal<void, string> patch_enabled_sig; - sigc::signal<void, string> patch_disabled_sig; - sigc::signal<void, string, uint32_t> patch_polyphony_sig; - sigc::signal<void, string> patch_cleared_sig; - sigc::signal<void, string, string> object_renamed_sig; - sigc::signal<void, string> object_destroyed_sig; - sigc::signal<void, string, string> connection_sig; - sigc::signal<void, string, string> disconnection_sig; - sigc::signal<void, string, string, Raul::Atom> metadata_update_sig; - sigc::signal<void, string, float> control_change_sig; - sigc::signal<void, string, uint32_t, uint32_t, string> program_add_sig; - sigc::signal<void, string, uint32_t, uint32_t> program_remove_sig; + sigc::signal<void, int32_t> signal_response_ok; + sigc::signal<void, int32_t, string> signal_response_error; + sigc::signal<void> signal_bundle_begin; + sigc::signal<void> signal_bundle_end; + sigc::signal<void, string> signal_error; + sigc::signal<void, uint32_t> signal_num_plugins; + sigc::signal<void, string, string, string> signal_new_plugin; + sigc::signal<void, string, uint32_t> signal_new_patch; + sigc::signal<void, string, string, bool, uint32_t> signal_new_node; + sigc::signal<void, string, 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; + sigc::signal<void, string> signal_object_destroyed; + sigc::signal<void, string, string> signal_connection; + sigc::signal<void, string, string> signal_disconnection; + sigc::signal<void, string, string, Raul::Atom> signal_metadata_update; + sigc::signal<void, string, float> signal_control_change; + sigc::signal<void, string, uint32_t, uint32_t, string> signal_program_add; + sigc::signal<void, string, uint32_t, uint32_t> signal_program_remove; protected: @@ -81,64 +81,64 @@ protected: void transfer_begin() {} void transfer_end() {} - void num_plugins(uint32_t num) { num_plugins_sig.emit(num); } + void num_plugins(uint32_t num) { signal_num_plugins.emit(num); } void response_ok(int32_t id) - { response_ok_sig.emit(id); } + { signal_response_ok.emit(id); } void response_error(int32_t id, const string& msg) - { response_error_sig.emit(id, msg); } + { signal_response_error.emit(id, msg); } void error(const string& msg) - { error_sig.emit(msg); } + { signal_error.emit(msg); } void new_plugin(const string& uri, const string& type_uri, const string& name) - { new_plugin_sig.emit(uri, type_uri, name); } + { signal_new_plugin.emit(uri, type_uri, name); } void new_patch(const string& path, uint32_t poly) - { new_patch_sig.emit(path, poly); } + { signal_new_patch.emit(path, poly); } void new_node(const string& plugin_uri, const string& node_path, bool is_polyphonic, uint32_t num_ports) - { new_node_sig.emit(plugin_uri, node_path, is_polyphonic, num_ports); } + { signal_new_node.emit(plugin_uri, node_path, is_polyphonic, num_ports); } void new_port(const string& path, const string& data_type, bool is_output) - { new_port_sig.emit(path, data_type, is_output); } + { signal_new_port.emit(path, data_type, is_output); } void connection(const string& src_port_path, const string& dst_port_path) - { connection_sig.emit(src_port_path, dst_port_path); } + { signal_connection.emit(src_port_path, dst_port_path); } void object_destroyed(const string& path) - { object_destroyed_sig.emit(path); } + { signal_object_destroyed.emit(path); } void patch_enabled(const string& path) - { patch_enabled_sig.emit(path); } + { signal_patch_enabled.emit(path); } void patch_disabled(const string& path) - { patch_disabled_sig.emit(path); } + { signal_patch_disabled.emit(path); } void patch_polyphony(const string& path, uint32_t poly) - { patch_polyphony_sig.emit(path, poly); } + { signal_patch_polyphony.emit(path, poly); } void patch_cleared(const string& path) - { patch_cleared_sig.emit(path); } + { signal_patch_cleared.emit(path); } void object_renamed(const string& old_path, const string& new_path) - { object_renamed_sig.emit(old_path, new_path); } + { signal_object_renamed.emit(old_path, new_path); } void disconnection(const string& src_port_path, const string& dst_port_path) - { disconnection_sig.emit(src_port_path, dst_port_path); } + { signal_disconnection.emit(src_port_path, dst_port_path); } void metadata_update(const string& path, const string& key, const Raul::Atom& value) - { metadata_update_sig.emit(path, key, value); } + { signal_metadata_update.emit(path, key, value); } void control_change(const string& port_path, float value) - { control_change_sig.emit(port_path, value); } + { signal_control_change.emit(port_path, value); } void program_add(const string& path, uint32_t bank, uint32_t program, const string& name) - { program_add_sig.emit(path, bank, program, name); } + { signal_program_add.emit(path, bank, program, name); } void program_remove(const string& path, uint32_t bank, uint32_t program) - { program_remove_sig.emit(path, bank, program); } + { signal_program_remove.emit(path, bank, program); } protected: SigClientInterface() {} |