summaryrefslogtreecommitdiffstats
path: root/src/Patchage.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-05-10 13:19:34 -0400
committerDavid Robillard <d@drobilla.net>2021-05-10 13:19:34 -0400
commitc1d99e42674d26a2699e5a7244dbaa988820b40d (patch)
tree29a103fdb8536c6c6e42dcc8013f146fedcc8e14 /src/Patchage.hpp
parenta280246c3043fc2ea1f50fa695539ac0bec44be1 (diff)
downloadpatchage-c1d99e42674d26a2699e5a7244dbaa988820b40d.tar.gz
patchage-c1d99e42674d26a2699e5a7244dbaa988820b40d.tar.bz2
patchage-c1d99e42674d26a2699e5a7244dbaa988820b40d.zip
Add Action representation to isolate behaviour from canvas objects
A step towards isolating the canvas and ultimately the entire UI away so it can be replaced.
Diffstat (limited to 'src/Patchage.hpp')
-rw-r--r--src/Patchage.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Patchage.hpp b/src/Patchage.hpp
index e108748..ecc1256 100644
--- a/src/Patchage.hpp
+++ b/src/Patchage.hpp
@@ -1,5 +1,5 @@
/* This file is part of Patchage.
- * Copyright 2007-2020 David Robillard <d@drobilla.net>
+ * Copyright 2007-2021 David Robillard <d@drobilla.net>
*
* Patchage is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
@@ -24,13 +24,14 @@
#include <gtkmm/treemodelcolumn.h>
#include <gtkmm/widget.h>
+#include "ActionSink.hpp"
#include "ClientType.hpp"
#include "Configuration.hpp"
-#include "Connector.hpp"
#include "Event.hpp"
#include "Metadata.hpp"
#include "Options.hpp"
#include "PortType.hpp"
+#include "Reactor.hpp"
#include "TextViewLog.hpp"
#include "Widget.hpp"
@@ -206,8 +207,9 @@ protected:
Widget<Gtk::TextView> _status_text;
Legend* _legend;
TextViewLog _log;
- Connector _connector;
Metadata _metadata;
+ Reactor _reactor;
+ ActionSink _action_sink;
Glib::RefPtr<Gtk::TextTag> _error_tag;
Glib::RefPtr<Gtk::TextTag> _warning_tag;