1 |
/*************************************************************************** |
/*************************************************************************** |
2 |
* * |
* * |
3 |
* Copyright (C) 2004, 2005 Grame * |
* Copyright (C) 2004, 2005 Grame * |
4 |
|
* Copyright (C) 2005 - 2007 Christian Schoenebeck * |
5 |
* * |
* * |
6 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
7 |
* 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 * |
26 |
|
|
27 |
int MidiInputDeviceCoreMidi::MidiInputPortCoreMidi::pPortID = 0; |
int MidiInputDeviceCoreMidi::MidiInputPortCoreMidi::pPortID = 0; |
28 |
|
|
29 |
MidiInputDeviceCoreMidi::MidiInputPortCoreMidi::ParameterName::ParameterName(MidiInputPort* pPort) throw (LinuxSamplerException) : MidiInputPort::ParameterName(pPort, "Port " + ToString(pPort->GetPortNumber())) { |
MidiInputDeviceCoreMidi::MidiInputPortCoreMidi::ParameterName::ParameterName(MidiInputPort* pPort) throw (Exception) : MidiInputPort::ParameterName(pPort, "Port " + ToString(pPort->GetPortNumber())) { |
30 |
OnSetValue(ValueAsString()); // initialize port name |
OnSetValue(ValueAsString()); // initialize port name |
31 |
} |
} |
32 |
|
|
33 |
void MidiInputDeviceCoreMidi::MidiInputPortCoreMidi::ParameterName::OnSetValue(String s) throw (LinuxSamplerException) { |
void MidiInputDeviceCoreMidi::MidiInputPortCoreMidi::ParameterName::OnSetValue(String s) throw (Exception) { |
34 |
|
|
35 |
} |
} |
36 |
|
|
54 |
return res; |
return res; |
55 |
} |
} |
56 |
|
|
57 |
void MidiInputDeviceCoreMidi::MidiInputPortCoreMidi::ParameterCoreMidiBindings::OnSetValue(std::vector<String> vS) throw (LinuxSamplerException) { |
void MidiInputDeviceCoreMidi::MidiInputPortCoreMidi::ParameterCoreMidiBindings::OnSetValue(std::vector<String> vS) throw (Exception) { |
58 |
// to finish |
// to finish |
59 |
} |
} |
60 |
|
|
169 |
} |
} |
170 |
|
|
171 |
String MidiInputDeviceCoreMidi::Version() { |
String MidiInputDeviceCoreMidi::Version() { |
172 |
String s = "$Revision: 1.8 $"; |
String s = "$Revision: 1.9 $"; |
173 |
return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword |
return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword |
174 |
} |
} |
175 |
|
|