1 |
/*************************************************************************** |
/*************************************************************************** |
2 |
* * |
* * |
3 |
* Copyright (C) 2008 - 2009 Andreas Persson * |
* Copyright (C) 2008 - 2012 Andreas Persson * |
4 |
* * |
* * |
5 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
6 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
55 |
ParameterPortsPlugin() : ParameterPorts() { } |
ParameterPortsPlugin() : ParameterPorts() { } |
56 |
ParameterPortsPlugin(String s) : ParameterPorts(s) { } |
ParameterPortsPlugin(String s) : ParameterPorts(s) { } |
57 |
virtual bool Fix() { return true; } |
virtual bool Fix() { return true; } |
58 |
|
void ForceSetValue(int ports); |
59 |
}; |
}; |
60 |
|
|
61 |
// derived abstract methods from class 'MidiInputDevice' |
// derived abstract methods from class 'MidiInputDevice' |
62 |
void Listen(); |
void Listen(); |
63 |
void StopListen(); |
void StopListen(); |
64 |
String Driver(); |
String Driver(); |
65 |
|
bool isAutonomousDevice(); |
66 |
static String Name(); |
static String Name(); |
67 |
static String Version(); |
static String Version(); |
68 |
static String Description(); |
static String Description(); |
69 |
MidiInputPort* CreateMidiPort(); |
MidiInputPort* CreateMidiPort(); |
70 |
|
static bool isAutonomousDriver(); |
71 |
|
|
72 |
/** |
/** |
73 |
* Returns the MIDI port to which events can be dispatched. |
* Returns the MIDI port to which events can be dispatched. |
78 |
return Ports[0]; |
return Ports[0]; |
79 |
} |
} |
80 |
|
|
81 |
static void DeleteMidiPort(MidiInputPort* pPort); |
void AddMidiPort(); |
82 |
|
void RemoveMidiPort(MidiInputPort* pPort); |
83 |
}; |
}; |
84 |
} |
} |
85 |
|
|