ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

AdLibEmuMusicPlugin Class Reference

Inheritance diagram for AdLibEmuMusicPlugin:
Collaboration diagram for AdLibEmuMusicPlugin:

List of all members.

Public Member Functions

const char * getName () const
 Returns the name of the plugin.
const char * getId () const
 Returns a unique string identifier which will be used to save the selected MIDI driver to the config file.
MusicDevices getDevices () const
 Returns a list of the available devices.
Common::Error createInstance (MidiDriver **mididriver, MidiDriver::DeviceHandle=0) const
 Tries to instantiate a MIDI Driver instance based on the device previously detected via MidiDriver::detectDevice().

Detailed Description

Definition at line 2287 of file adlib.cpp.


Member Function Documentation

Common::Error AdLibEmuMusicPlugin::createInstance ( MidiDriver **  mididriver,
MidiDriver::DeviceHandle  = 0 
) const [virtual]

Tries to instantiate a MIDI Driver instance based on the device previously detected via MidiDriver::detectDevice().

Parameters:
mididriver Pointer to a pointer which the MusicPluginObject sets to the newly create MidiDriver, or 0 in case of an error
dev Pointer to a device to be used then creating the driver instance. Default value of zero for driver types without devices.
Returns:
a Common::Error describing the error which occurred, or kNoError

Implements MusicPluginObject.

Definition at line 2307 of file adlib.cpp.

MusicDevices AdLibEmuMusicPlugin::getDevices (  )  const [virtual]

Returns a list of the available devices.

Implements MusicPluginObject.

Definition at line 2301 of file adlib.cpp.

const char* AdLibEmuMusicPlugin::getId (  )  const [inline, virtual]

Returns a unique string identifier which will be used to save the selected MIDI driver to the config file.

Implements MusicPluginObject.

Definition at line 2293 of file adlib.cpp.

const char* AdLibEmuMusicPlugin::getName (  )  const [inline, virtual]

Returns the name of the plugin.

Implements PluginObject.

Definition at line 2289 of file adlib.cpp.


The documentation for this class was generated from the following file:


Generated on Sat Mar 16 2019 05:04:23 for ResidualVM by doxygen 1.7.1
curved edge   curved edge