diff options
author | David Robillard <d@drobilla.net> | 2020-11-28 12:32:24 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-28 12:45:57 +0100 |
commit | db5d1f603e0dd3076444f27008fcf1a61a4e151c (patch) | |
tree | 78af24e87c81e54fab14a59389adea859577f49e /src/Patchage.hpp | |
parent | 0ae4276ac187a9a361950f26bd67eb2d54636aff (diff) | |
download | patchage-db5d1f603e0dd3076444f27008fcf1a61a4e151c.tar.gz patchage-db5d1f603e0dd3076444f27008fcf1a61a4e151c.tar.bz2 patchage-db5d1f603e0dd3076444f27008fcf1a61a4e151c.zip |
Factor out Connector from PatchageCanvas
This finally breaks the dependency of the canvas on the entire application, and
fixes the confusing situation where it wasn't clear whether connect/disconnect
methods made/broke connections on the canvas or on the system.
Diffstat (limited to 'src/Patchage.hpp')
-rw-r--r-- | src/Patchage.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Patchage.hpp b/src/Patchage.hpp index e453b68..19b2e9f 100644 --- a/src/Patchage.hpp +++ b/src/Patchage.hpp @@ -38,6 +38,7 @@ #include <gtkmm/viewport.h> #include <gtkmm/window.h> +#include "Connector.hpp" #include "ILog.hpp" #include "Legend.hpp" #include "TextViewLog.hpp" @@ -210,6 +211,7 @@ protected: Widget<Gtk::TextView> _status_text; Legend* _legend; TextViewLog _log; + Connector _connector; Glib::RefPtr<Gtk::TextTag> _error_tag; Glib::RefPtr<Gtk::TextTag> _warning_tag; |