/[svn]/linuxsampler/trunk/src/engines/InstrumentManager.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/InstrumentManager.h

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

revision 1524 by schoenebeck, Tue Sep 4 01:12:49 2007 UTC revision 1525 by schoenebeck, Sun Nov 25 17:47:46 2007 UTC
# Line 73  namespace LinuxSampler { Line 73  namespace LinuxSampler {
73              };              };
74    
75              /**              /**
76                 * Rather abstract informations about an instrument.
77                 */
78                struct instrument_info_t {
79                    String InstrumentName;
80                    String FormatVersion;
81                    String Product;
82                    String Artists;
83                };
84    
85                /**
86               * Returns all managed instruments.               * Returns all managed instruments.
87               *               *
88               * This method has to be implemented by the descendant.               * This method has to be implemented by the descendant.
# Line 157  namespace LinuxSampler { Line 167  namespace LinuxSampler {
167               *         instrument editor is registered to the sampler               *         instrument editor is registered to the sampler
168               */               */
169              virtual void LaunchInstrumentEditor(instrument_id_t ID) throw (InstrumentManagerException) = 0;              virtual void LaunchInstrumentEditor(instrument_id_t ID) throw (InstrumentManagerException) = 0;
170    
171                /**
172                 * Returns a list of instrument IDs of the provided instrument
173                 * file in case the provided file's format is supported.
174                 *
175                 * @throws InstrumentManagerException if the format of the
176                 *         provided instrument file is not supported
177                 */
178                virtual std::vector<instrument_id_t> GetInstrumentFileContent(String File) throw (InstrumentManagerException) = 0;
179    
180                /**
181                 * Get detailed informations about the provided instrument file.
182                 *
183                 * @throws InstrumentManagerException if the format of the
184                 *         provided instrument file is not supported
185                 */
186                virtual instrument_info_t GetInstrumentInfo(instrument_id_t ID) throw (InstrumentManagerException) = 0;
187      };      };
188    
189  }  }

Legend:
Removed from v.1524  
changed lines
  Added in v.1525

  ViewVC Help
Powered by ViewVC