summaryrefslogtreecommitdiffstats
path: root/src/Patchage.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-28 12:32:24 +0100
committerDavid Robillard <d@drobilla.net>2020-11-28 12:45:57 +0100
commitdb5d1f603e0dd3076444f27008fcf1a61a4e151c (patch)
tree78af24e87c81e54fab14a59389adea859577f49e /src/Patchage.hpp
parent0ae4276ac187a9a361950f26bd67eb2d54636aff (diff)
downloadpatchage-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.hpp2
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;