X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fsurfaces%2Fgeneric_midi%2Fmidifunction.h;h=12340174d40f1ef649aac36209a21fb1ca1fb420;hb=b02b6cc3cd3033c681feaa63f0d5292bce78f68d;hp=aafa739f20df01c9a2c3a4b19764449a58f5c0ef;hpb=f75bbfd8ac52ea33692c3ee15953ceb2994117ab;p=ardour.git diff --git a/libs/surfaces/generic_midi/midifunction.h b/libs/surfaces/generic_midi/midifunction.h index aafa739f20..12340174d4 100644 --- a/libs/surfaces/generic_midi/midifunction.h +++ b/libs/surfaces/generic_midi/midifunction.h @@ -1,6 +1,6 @@ /* Copyright (C) 2009 Paul Davis - + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or @@ -33,7 +33,6 @@ namespace MIDI { class Channel; - class Port; class Parser; } @@ -42,7 +41,7 @@ class GenericMidiControlProtocol; class MIDIFunction : public MIDIInvokable { public: - enum Function { + enum Function { NextBank, PrevBank, TransportRoll, @@ -51,12 +50,21 @@ class MIDIFunction : public MIDIInvokable TransportStart, TransportEnd, TransportLoopToggle, + TransportRecordToggle, TransportRecordEnable, TransportRecordDisable, + /* 1 argument functions: RID */ Select, + SetBank, + /* 2 argument functions: RID, value */ + TrackSetSolo, + TrackSetMute, + TrackSetGain, + TrackSetRecordEnable, + TrackSetSoloIsolate, }; - MIDIFunction (MIDI::Port&); + MIDIFunction (MIDI::Parser&); virtual ~MIDIFunction (); int setup (GenericMidiControlProtocol&, const std::string& function_name, const std::string& argument, MIDI::byte* sysex = 0, size_t ssize = 0);