From b31df0db2c07c9f17bf1fd64773155caaa0b249d Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 8 Jul 2016 17:10:26 -0400 Subject: add bundle support to push2 --- libs/surfaces/push2/push2.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libs/surfaces/push2/push2.h') 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 > 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 _input_bundle; + // Bundle to represent our output ports + boost::shared_ptr _output_bundle; + MIDI::Port* _input_port; MIDI::Port* _output_port; boost::shared_ptr _async_in; -- cgit v1.2.3