#ifndef ardour_generic_midi_control_protocol_h #define ardour_generic_midi_control_protocol_h #include namespace MIDI { class Port; } namespace ARDOUR { class GenericMidiControlProtocol : public ControlProtocol { public: GenericMidiControlProtocol (Session&); virtual ~GenericMidiControlProtocol(); bool active() const; void set_port (MIDI::Port*); MIDI::Port* port () const { return _port; } void send_route_feedback (std::list&); private: void route_feedback (ARDOUR::Route&, bool); MIDI::Port* _port; }; } #endif // ardour_generic_midi_control_protocol_h