#include <mmf/common/midistandardcustomcommands.h>
Link against: midistandardcustomcommands.lib
class CMidiCustomCommandParser : public CMMFCustomCommandParserBase, public MMidiEventHandler |
Public Member Functions | |
---|---|
~CMidiCustomCommandParser() | |
virtual void | HandleRequest(TMMFMessage &) |
IMPORT_C CMidiCustomCommandParser * | NewL(MMidiCustomCommandImplementor &) |
virtual TInt | SendMidiEventToClient(const CMMFMidiEvent &) |
Custom command parser class to be used by controller plugins wishing to support MIDI controller commands. The controller plugin must be derived from MMidiCustomCommandImplementor to use this class. The controller plugin should create an object of this type and add it to the list of custom command parsers in the controller framework.
void | HandleRequest | ( | TMMFMessage & | aMessage | ) | [virtual] |
Reimplemented from CMMFCustomCommandParserBase::HandleRequest(TMMFMessage &)
Handles a request from the client. Called by the controller framework.
Parameters | |
---|---|
aMessage | The message to be handled. |
IMPORT_C CMidiCustomCommandParser * | NewL | ( | MMidiCustomCommandImplementor & | aImplementor | ) | [static] |
Creates a new MIDI custom command parser capable of handling MIDI controller commands.
Parameters | |
---|---|
aImplementor | A reference to the controller plugin that owns this new object. |
Leave Codes | |
---|---|
This | function may leave with one of the system-wide error codes. |
TInt | SendMidiEventToClient | ( | const CMMFMidiEvent & | aEvent | ) | [virtual] |
Reimplemented from MMidiEventHandler::SendMidiEventToClient(const CMMFMidiEvent &)
Sent a MIDI event back to the client.
Parameters | |
---|---|
aEvent | MIDI event to be sent to the client. |