diff options
author | Max Horn | 2008-11-05 17:24:56 +0000 |
---|---|---|
committer | Max Horn | 2008-11-05 17:24:56 +0000 |
commit | f32be876337e3b280ee4ea257e9868a0d61e399d (patch) | |
tree | 999037656b6a01f8a0e379801f64c79d18a76dba /backends/midi/quicktime.cpp | |
parent | fe2935ad4b550afa68977169140267ef2ef4a3da (diff) | |
download | scummvm-rg350-f32be876337e3b280ee4ea257e9868a0d61e399d.tar.gz scummvm-rg350-f32be876337e3b280ee4ea257e9868a0d61e399d.tar.bz2 scummvm-rg350-f32be876337e3b280ee4ea257e9868a0d61e399d.zip |
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
Diffstat (limited to 'backends/midi/quicktime.cpp')
-rw-r--r-- | backends/midi/quicktime.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/midi/quicktime.cpp b/backends/midi/quicktime.cpp index a18eadcb30..3a21c65c20 100644 --- a/backends/midi/quicktime.cpp +++ b/backends/midi/quicktime.cpp @@ -274,7 +274,7 @@ public: } MusicDevices getDevices() const; - PluginError createInstance(Audio::Mixer *mixer, MidiDriver **mididriver) const; + Common::Error createInstance(Audio::Mixer *mixer, MidiDriver **mididriver) const; }; MusicDevices QuickTimeMusicPlugin::getDevices() const { @@ -285,10 +285,10 @@ MusicDevices QuickTimeMusicPlugin::getDevices() const { return devices; } -PluginError QuickTimeMusicPlugin::createInstance(Audio::Mixer *mixer, MidiDriver **mididriver) const { +Common::Error QuickTimeMusicPlugin::createInstance(Audio::Mixer *mixer, MidiDriver **mididriver) const { *mididriver = new MidiDriver_QT(); - return kNoError; + return Common::kNoError; } MidiDriver *MidiDriver_QT_create(Audio::Mixer *mixer) { |