try just removing all PLATFORM_WINDOWS conditionals in ipmidi code to see if it will...
[ardour.git] / libs / surfaces / mackie / mackie_control_protocol.h
index 6e58f0794649348a0ef73ff11e4c1d30871ac575..f5db7942516cf42693a7b2b3647682a60a37fba2 100644 (file)
@@ -107,6 +107,7 @@ class MackieControlProtocol
                MidiTracks,
                Busses,
                Auxes,
+               Selected,
                Plugins,
        };
 
@@ -146,9 +147,15 @@ class MackieControlProtocol
        bool zoom_mode () const { return modifier_state() & MODIFIER_ZOOM; }
        bool     metering_active () const { return _metering_active; }
 
+       bool is_track (boost::shared_ptr<ARDOUR::Route>) const;
+       bool is_audio_track (boost::shared_ptr<ARDOUR::Route>) const;
+       bool is_midi_track (boost::shared_ptr<ARDOUR::Route>) const;
+       bool selected (boost::shared_ptr<ARDOUR::Route>) const;
+
        void set_view_mode (ViewMode);
        void set_flip_mode (FlipMode);
        void set_pot_mode (PotMode);
+       void display_view_mode ();
 
        XMLNode& get_state ();
        int set_state (const XMLNode&, int version);
@@ -301,6 +308,7 @@ class MackieControlProtocol
        Mackie::Timer            _frm_left_last;
        // last written timecode string
        std::string              _timecode_last;
+       framepos_t                               _frame_last;
        // Which timecode are we displaying? BBT or Timecode
        ARDOUR::AnyTime::Type    _timecode_type;
        // Bundle to represent our input ports
@@ -322,6 +330,7 @@ class MackieControlProtocol
        ARDOUR::RouteNotificationList _last_selected_routes;
        XMLNode*                 configuration_state;
        int                      state_version;
+       int                      _last_bank[9];
 
        boost::shared_ptr<ArdourSurface::Mackie::Surface>       _master_surface;