1 #ifndef ardour_powermate_h
2 #define ardour_powermate_h
7 #include "control_protocol/control_protocol.h"
9 class PowermateControlProtocol : public ARDOUR::ControlProtocol
12 PowermateControlProtocol (ARDOUR::Session&);
13 virtual ~PowermateControlProtocol();
15 int set_active (bool yn);
18 XMLNode& get_state ();
19 int set_state (const XMLNode&, int version);
23 static void* SerialThreadEntry (void* arg);
24 void* SerialThread ();
26 void ProcessEvent(struct input_event *ev);