X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fsurfaces%2Fmackie%2Fsurface.h;h=218e2e2cbc7c5b65978cd955af9cc56cbb9531b3;hb=e52c8e376a068c11a9a771a15977a65c067c71e6;hp=122335d9a76b626d1c1a8f334f284eb7c1620be4;hpb=ea895efb970246ff2bc5d8fae1dbb269aa86ac52;p=ardour.git diff --git a/libs/surfaces/mackie/surface.h b/libs/surfaces/mackie/surface.h index 122335d9a7..218e2e2cbc 100644 --- a/libs/surfaces/mackie/surface.h +++ b/libs/surfaces/mackie/surface.h @@ -22,7 +22,7 @@ namespace MIDI { } namespace ARDOUR { - class Route; + class Stripable; class Port; } @@ -79,8 +79,8 @@ public: uint32_t n_strips (bool with_locked_strips = true) const; Strip* nth_strip (uint32_t n) const; - bool route_is_locked_to_strip (boost::shared_ptr) const; - bool route_is_mapped (boost::shared_ptr) const; + bool stripable_is_locked_to_strip (boost::shared_ptr) const; + bool stripable_is_mapped (boost::shared_ptr) const; /// This collection owns the groups typedef std::map Groups; @@ -88,12 +88,14 @@ public: SurfacePort& port() const { return *_port; } - void map_routes (const std::vector >& routes); + void map_stripables (const std::vector >&); + + void update_strip_selection (); const MidiByteArray& sysex_hdr() const; void periodic (ARDOUR::microseconds_t now_usecs); - void redisplay (ARDOUR::microseconds_t now_usecs); + void redisplay (ARDOUR::microseconds_t now_usecs, bool force); void hui_heartbeat (); void handle_midi_pitchbend_message (MIDI::Parser&, MIDI::pitchbend_t, uint32_t channel_id); @@ -154,9 +156,7 @@ public: void update_view_mode_display (bool with_helpful_text); void update_flip_mode_display (); - void update_potmode (); - void gui_selection_changed (const ARDOUR::StrongRouteNotificationList&); void subview_mode_changed (); MackieControlProtocol& mcp() const { return _mcp; } @@ -176,6 +176,8 @@ public: XMLNode& get_state (); int set_state (const XMLNode&, int version); + bool get_qcon_flag() { return is_qcon; } + private: MackieControlProtocol& _mcp; SurfacePort* _port; @@ -206,6 +208,9 @@ public: int connection_state; + // QCon Flag + bool is_qcon; + MidiByteArray display_line (std::string const& msg, int line_num); public: