Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <mmfcontroller.h>
Link against: mmfcontrollerframework.lib

Class RMMFCustomCommandsBase

class RMMFCustomCommandsBase;

Description

Base class for client-side custom command classes.

In order facilitate the use of the more common custom commands, it is desirable to write a concrete API class for the client to use. This API class can then be use to wrap all the code involved to formulate the custom command messages.

Members

Defined in RMMFCustomCommandsBase:


Construction and destruction


RMMFCustomCommandsBase(RMMFController &,TUid)

IMPORT_C RMMFCustomCommandsBase(RMMFController &aController, TUid aInterfaceId);

Description

Constructor.

Parameters

RMMFController &aController

A reference to the controller client class that will be used to send custom commands to the controller plugin.

TUid aInterfaceId

The UID of the custom command interface that is provided by this client API class.

[Top]


Member data


iController

protected: RMMFController & iController;

Description

The controller.

Derived classes should use iController.CustomCommandSync() and iController.CustomCommandAsync() to send the custom commands to the controller plugin.


iDestinationPckg

protected: TMMFMessageDestinationPckg iDestinationPckg;

Description

The destination package.

Derived classes must pass this into iController.CustomCommandSync() and iController.CustomCommandAsync() as the destination argument.