Turned enum PluginError into Common::Error, which in the future is to be used in more places. Help with this is highly welcome
svn-id: r34906
This commit is contained in:
parent
fe2935ad4b
commit
f32be87633
28 changed files with 97 additions and 89 deletions
|
@ -119,7 +119,7 @@ public:
|
|||
}
|
||||
|
||||
MusicDevices getDevices() const;
|
||||
PluginError createInstance(Audio::Mixer *mixer, MidiDriver **mididriver)
|
||||
Common::Error createInstance(Audio::Mixer *mixer, MidiDriver **mididriver)
|
||||
const;
|
||||
};
|
||||
|
||||
|
@ -131,10 +131,10 @@ MusicDevices StMidiMusicPlugin::getDevices() const {
|
|||
return devices;
|
||||
}
|
||||
|
||||
PluginError StMidiMusicPlugin::createInstance(Audio::Mixer *mixer, MidiDriver **mididriver) const {
|
||||
Common::Error StMidiMusicPlugin::createInstance(Audio::Mixer *mixer, MidiDriver **mididriver) const {
|
||||
*mididriver = new MidiDriver_STMIDI();
|
||||
|
||||
return kNoError;
|
||||
return Common::kNoError;
|
||||
}
|
||||
|
||||
MidiDriver *MidiDriver_STMIDI_create(Audio::Mixer *mixer) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue