/[svn]/linuxsampler/trunk/src/drivers/midi/MidiInstrumentMapper.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/drivers/midi/MidiInstrumentMapper.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1134 by iliev, Sun Mar 25 18:59:14 2007 UTC revision 1135 by iliev, Thu Mar 29 09:40:45 2007 UTC
# Line 213  namespace LinuxSampler { Line 213  namespace LinuxSampler {
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
# Line 250  namespace LinuxSampler { Line 266  namespace LinuxSampler {
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

Legend:
Removed from v.1134  
changed lines
  Added in v.1135

  ViewVC Help
Powered by ViewVC