13
0
livetrax/libs/surfaces/generic_midi/generic_midi_control_protocol.h
Paul Davis 028e1ebc4a a) completely refactor abstract UI code
b) single-thread Tranzport implementation
c) implement BasicUI to share functionality across multiple
     controllers
d) various minor fixes here and there


git-svn-id: svn://localhost/trunk/ardour2@468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-04-24 22:45:19 +00:00

34 lines
646 B
C++

#ifndef ardour_generic_midi_control_protocol_h
#define ardour_generic_midi_control_protocol_h
#include <ardour/control_protocol.h>
namespace MIDI {
class Port;
}
namespace ARDOUR {
class GenericMidiControlProtocol : public ControlProtocol {
public:
GenericMidiControlProtocol (Session&);
virtual ~GenericMidiControlProtocol();
int set_active (bool yn);
void set_port (MIDI::Port*);
MIDI::Port* port () const { return _port; }
void send_route_feedback (std::list<Route*>&);
private:
void route_feedback (ARDOUR::Route&, bool);
MIDI::Port* _port;
void port_change ();
};
}
#endif // ardour_generic_midi_control_protocol_h