MAlfInterfaceProvider Class Reference

class MAlfInterfaceProvider

Member Functions Documentation

AlfInterfaceProviderExtension(const TUid &, TAny **)

void AlfInterfaceProviderExtension ( const TUid & aExtensionUid,
TAny ** aExtensionParams
) [pure virtual]

! Future proofing

Parameters

const TUid & aExtensionUid
TAny ** aExtensionParams

CompleteCmd(TInt, TInt)

void CompleteCmd ( TInt aCommadIdentifier,
TInt aResult =  KErrNone
) [pure virtual]

Complete asynch command, if MAlfExtension implementing object utilizes asynch commands it should also take care that those messages are completed at latest when the extension is being destoryed. FW will panic the client in case of orphean messages

Parameters

TInt aCommadIdentifier
TInt aResult =  KErrNone

GetHandleFromInterface(const THuiInterfaceSupport &, TAny *)

TInt GetHandleFromInterface ( const THuiInterfaceSupport & aType,
TAny * aInterface
) [pure virtual]

Request identifier for pointer of given type On error returns KErrNotFound

Parameters

const THuiInterfaceSupport & aType
TAny * aInterface

GetInterfaceL(const THuiInterfaceSupport &, TInt)

TAny * GetInterfaceL ( const THuiInterfaceSupport & aType,
TInt aHandle
) [pure virtual]

Request to pointer of given type matching to given handle. Leaves if object not found i.e. always returns pointer on completion

Parameters

const THuiInterfaceSupport & aType
TInt aHandle

HandleCurrentCommanndAsynch()

TInt HandleCurrentCommanndAsynch ( ) [pure virtual]

Request to make current command (during MAlfExtension::HandleCmd) asynchronous returns command id that is needed for completing the command later on

exntension should take references to buffers (in/out) in case it wants to modify client message before completing it

LayoutManager()

CAlfLayoutManager * LayoutManager ( ) const [pure virtual]

Returns common layoutmanager or null

SharedHuiEnv()

CHuiEnv * SharedHuiEnv ( ) const [pure virtual]

Returns common hitchcock environment or null