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

NullMusicPlugin Class Reference

#include <null.h>

Inheritance diagram for NullMusicPlugin:
Collaboration diagram for NullMusicPlugin:

List of all members.

Public Member Functions

virtual const char * getName () const
 Returns the name of the plugin.
virtual const char * getId () const
 Returns a unique string identifier which will be used to save the selected MIDI driver to the config file.
virtual 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 41 of file null.h.


Member Function Documentation

Common::Error NullMusicPlugin::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 26 of file null.cpp.

MusicDevices NullMusicPlugin::getDevices (  )  const [virtual]

Returns a list of the available devices.

Implements MusicPluginObject.

Reimplemented in AutoMusicPlugin, and CMSMusicPlugin.

Definition at line 32 of file null.cpp.

virtual const char* NullMusicPlugin::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.

Reimplemented in AutoMusicPlugin, and CMSMusicPlugin.

Definition at line 47 of file null.h.

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

Returns the name of the plugin.

Implements PluginObject.

Reimplemented in AutoMusicPlugin, and CMSMusicPlugin.

Definition at line 43 of file null.h.


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


Generated on Sat Jun 22 2019 05:02:36 for ResidualVM by doxygen 1.7.1
curved edge   curved edge