summaryrefslogtreecommitdiff
path: root/libs/surfaces/push2/push2.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-07-08 17:10:26 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-09-27 14:59:30 -0500
commitb31df0db2c07c9f17bf1fd64773155caaa0b249d (patch)
treef5f5f333c3067f307eb6ed8e834d8bfaef6240c0 /libs/surfaces/push2/push2.h
parentd2e59c308e9c123e32b1d9920631c392b7277977 (diff)
add bundle support to push2
Diffstat (limited to 'libs/surfaces/push2/push2.h')
-rw-r--r--libs/surfaces/push2/push2.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/surfaces/push2/push2.h b/libs/surfaces/push2/push2.h
index d92bf89755..6180d66813 100644
--- a/libs/surfaces/push2/push2.h
+++ b/libs/surfaces/push2/push2.h
@@ -82,6 +82,8 @@ class Push2 : public ARDOUR::ControlProtocol
static bool probe ();
static void* request_factory (uint32_t);
+ std::list<boost::shared_ptr<ARDOUR::Bundle> > bundles ();
+
bool has_editor () const { return true; }
void* get_gui () const;
void tear_down_gui ();
@@ -373,6 +375,11 @@ class Push2 : public ARDOUR::ControlProtocol
void build_maps ();
+ // Bundle to represent our input ports
+ boost::shared_ptr<ARDOUR::Bundle> _input_bundle;
+ // Bundle to represent our output ports
+ boost::shared_ptr<ARDOUR::Bundle> _output_bundle;
+
MIDI::Port* _input_port;
MIDI::Port* _output_port;
boost::shared_ptr<ARDOUR::Port> _async_in;