MAlfExtension Class Reference

class MAlfExtension
Public Member Functions
TAny *GetInterface(const THuiInterfaceSupport &)
voidHandleCmdL(TInt, const TDesC8 &, TDes8 &)
voidRelease()

Member Functions Documentation

GetInterface(const THuiInterfaceSupport &)

TAny *GetInterface(const THuiInterfaceSupport &aInterface)[pure virtual]

Returns pointer of correct type or null

Parameters

const THuiInterfaceSupport & aInterfacetype of interface requested

HandleCmdL(TInt, const TDesC8 &, TDes8 &)

voidHandleCmdL(TIntaCommandId,
const TDesC8 &aInputBuffer,
TDes8 &aResponse
)[pure virtual]
Handles command from controller
leave
Any system wide error code

Parameters

TInt aCommandIdCommand identifier, values below EAlfLastReservedOpCmd (= 10000) are reserved for tookit fw and should not be utilized in app specific extensions.
const TDesC8 & aInputBufferAdditional data attached to command
TDes8 & aResponseResponse to be passed back to commander

Release()

voidRelease()[pure virtual]

Free resources for instance, usually delete this