|
||
class CMMFAudioPlayControllerCustomCommandParser : public CMMFCustomCommandParserBase;
Custom command parser class to be used by controller plugins wishing to support audio play controller commands.
The controller plugin must be derived from MMMFAudioPlayControllerCustomCommandImplementor
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. See the following example code for details.
void CMMFAudioController::ConstructL()
{
// Construct custom command parsers
CMMFAudioPlayDeviceCustomCommandParser* audPlayDevParser = CMMFAudioPlayDeviceCustomCommandParser::NewL(*this);
CleanupStack::PushL(audPlayDevParser);
AddCustomCommandParserL(*audPlayDevParser); //parser now owned by controller framework
CleanupStack::Pop();//audPlayDevParser
CMMFAudioRecordDeviceCustomCommandParser* audRecDevParser = CMMFAudioRecordDeviceCustomCommandParser::NewL(*this);
CleanupStack::PushL(audRecDevParser);
AddCustomCommandParserL(*audRecDevParser); //parser now owned by controller framework
CleanupStack::Pop();//audRecDevParser
etc.
}
CBase
-
Base class for all classes to be instantiated on the heap.
CMMFCustomCommandParserBase
-
Base class to define the interface of a custom command parser.
CMMFAudioPlayControllerCustomCommandParser
- ...
Defined in CMMFAudioPlayControllerCustomCommandParser
:
HandleRequest(TMMFMessage &)
Handles a request from the client. Called by the controller framework.NewL(MMMFAudioPlayControllerCustomCommandImplementor &)
Creates a new custom command parser capable of handling audio play controller co...~CMMFAudioPlayControllerCustomCommandParser()
Destructor.Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...Inherited from CMMFCustomCommandParserBase
:
CMMFCustomCommandParserBase(TUid)
Constructor.InterfaceId()
Returns the UID of the custom command interface provided by this parser.IMPORT_C static CMMFAudioPlayControllerCustomCommandParser* NewL(MMMFAudioPlayControllerCustomCommandImplementor &aImplementor);
Creates a new custom command parser capable of handling audio play controller commands.
|
|
virtual void HandleRequest(TMMFMessage &aMessage);
Handles a request from the client. Called by the controller framework.
|