breakout control protocol code into LGPL library; fix panner buttons even more than nick did, plus some other bits and pieces

git-svn-id: svn://localhost/trunk/ardour2@522 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2006-05-23 19:54:52 +00:00
parent a222c19737
commit 2fba6d0925
25 changed files with 414 additions and 142 deletions

View file

@ -1,7 +1,7 @@
#ifndef ardour_generic_midi_control_protocol_h
#define ardour_generic_midi_control_protocol_h
#include <ardour/control_protocol.h>
#include "control_protocol.h"
namespace MIDI {
class Port;
@ -15,6 +15,7 @@ class GenericMidiControlProtocol : public ControlProtocol {
virtual ~GenericMidiControlProtocol();
int set_active (bool yn);
static bool probe() { return true; }
void set_port (MIDI::Port*);
MIDI::Port* port () const { return _port; }