Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <midistandardcustomcommands.h>
Link against: midistandardcustomcommands.lib
This item is not part of the S60 5th Edition SDK

Class CMidiCustomCommandParser

class CMidiCustomCommandParser : public CMMFCustomCommandParserBase, public MMidiEventHandler;

Description

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.

Derivation

Members

Defined in CMidiCustomCommandParser:

Inherited from CBase:

Inherited from CMMFCustomCommandParserBase:


Construction and destruction


NewL(MMidiCustomCommandImplementor &)

IMPORT_C static CMidiCustomCommandParser* NewL(MMidiCustomCommandImplementor &aImplementor);

Description

Creates a new MIDI custom command parser capable of handling MIDI controller commands.

Parameters

MMidiCustomCommandImplementor &aImplementor

A reference to the controller plugin that owns this new object.

Return value

CMidiCustomCommandParser *

Leave codes

This

function may leave with one of the system-wide error codes.


~CMidiCustomCommandParser()

IMPORT_C ~CMidiCustomCommandParser();

Description

Destructor.

[Top]


Member functions


SendMidiEventToClient(const CMMFMidiEvent &)

virtual TInt SendMidiEventToClient(const CMMFMidiEvent &aEvent);

Description

Sent a MIDI event back to the client.

Parameters

const CMMFMidiEvent &aEvent

MIDI event to be sent to the client.

Return value

TInt

One of the system-wide error codes.