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. |
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 |
} |
} |