diff options
Diffstat (limited to 'src/libs/gui/App.hpp')
-rw-r--r-- | src/libs/gui/App.hpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/libs/gui/App.hpp b/src/libs/gui/App.hpp index a13259ad..04666285 100644 --- a/src/libs/gui/App.hpp +++ b/src/libs/gui/App.hpp @@ -91,9 +91,13 @@ public: bool gtk_main_iteration(); void show_about(); void quit(); - + void port_activity(Port* port); + bool signal() const { return _enable_signal; } + void enable_signals() { _enable_signal = true; } + void disable_signals() { _enable_signal = false; } + ConnectWindow* connect_window() const { return _connect_window; } MessagesWindow* messages_dialog() const { return _messages_window; } PatchTreeWindow* patch_tree() const { return _patch_tree_window; } @@ -157,11 +161,6 @@ protected: typedef std::map<Port*, bool> ActivityPorts; ActivityPorts _activity_ports; - /** Used to avoid feedback loops with (eg) process checkbutton - * FIXME: This should probably be implemented globally: - * disable all command sending while handling events to avoid feedback - * issues with widget event callbacks? This same pattern is duplicated - * too much... */ bool _enable_signal; }; |