213 |
*/ |
*/ |
214 |
static void RemoveAllMaps(); |
static void RemoveAllMaps(); |
215 |
|
|
216 |
|
static int GetMapCount(); |
217 |
|
|
218 |
|
/** |
219 |
|
* Gets the ID of the default map. |
220 |
|
* For now, the default map is the first available map. When |
221 |
|
* the default map is removed, the default map becomes the next available map. |
222 |
|
* @return The ID of the default map or -1 if the there are no maps added. |
223 |
|
*/ |
224 |
|
static int GetDefaultMap(); |
225 |
|
|
226 |
|
/** |
227 |
|
* Sets the default map. |
228 |
|
* @param MapId The ID of the new default map. |
229 |
|
*/ |
230 |
|
static void SetDefaultMap(int MapId); |
231 |
|
|
232 |
protected: |
protected: |
233 |
/** |
/** |
234 |
* Notifies listeners that the number of MIDI instruments |
* Notifies listeners that the number of MIDI instruments |
266 |
static ListenerList<MidiInstrumentInfoListener*> llMidiInstrumentInfoListeners; |
static ListenerList<MidiInstrumentInfoListener*> llMidiInstrumentInfoListeners; |
267 |
static ListenerList<MidiInstrumentMapCountListener*> llMidiInstrumentMapCountListeners; |
static ListenerList<MidiInstrumentMapCountListener*> llMidiInstrumentMapCountListeners; |
268 |
static ListenerList<MidiInstrumentMapInfoListener*> llMidiInstrumentMapInfoListeners; |
static ListenerList<MidiInstrumentMapInfoListener*> llMidiInstrumentMapInfoListeners; |
269 |
|
|
270 |
|
static int DefaultMap; |
271 |
}; |
}; |
272 |
|
|
273 |
} // namespace LinuxSampler |
} // namespace LinuxSampler |