CAlfVisualHandler Class Reference

class CAlfVisualHandler : public CBase

Handler for the visual base class.

Inherits from

Nested Classes and Structures

Constructor & Destructor Documentation

CAlfVisualHandler(MAlfInterfaceProvider &)

IMPORT_CCAlfVisualHandler(MAlfInterfaceProvider &aResolver)

Constructor.

Parameters

MAlfInterfaceProvider & aResolverThe resolver for this visual handler.

~CAlfVisualHandler()

IMPORT_C~CAlfVisualHandler()[protected]

Member Functions Documentation

ConstructL(CHuiVisual *, CHuiControl &, CHuiLayout *)

IMPORT_C voidConstructL(CHuiVisual *aVisual,
CHuiControl &aOwner,
CHuiLayout *aParentLayout
)[virtual]

Second phase constructor.

Parameters

CHuiVisual * aVisual
CHuiControl & aOwnerThe owner control of this visual.
CHuiLayout * aParentLayoutThe parent layout of this visual.

GetInterface(const THuiInterfaceSupport &)

IMPORT_C TAny *GetInterface(const THuiInterfaceSupport &aInterface)

Gets the hui visual handled by this class.

Parameters

const THuiInterfaceSupport & aInterfaceReturn parameter containing the visual.

HandleCmdL(TInt, const TDesC8 &, TDes8 &)

IMPORT_C voidHandleCmdL(TIntaCommandId,
const TDesC8 &aInputBuffer,
TDes8 &aResponse
)

Handle a command for this visual that has come from the client. TAlfredServerIPC

Parameters

TInt aCommandIdThe TAlfredServerIPC enum specifying what command to execute.
const TDesC8 & aInputBufferThe input parameters for this command, will be cast to the correct types internally.
TDes8 & aResponseThe return value for this command. Will be cast to correct type at the client side.

HuiVisualAboutToTerminate()

voidHuiVisualAboutToTerminate()

NewL(MAlfInterfaceProvider &, CHuiControl *, CHuiLayout *)

IMPORT_C MAlfExtension *NewL(MAlfInterfaceProvider &aResolver,
CHuiControl *aOwner,
CHuiLayout *aParentLayout
)[static]

Constructor.

Parameters

MAlfInterfaceProvider & aResolverThe resolver for this visual handler.
CHuiControl * aOwnerThe owner control of this visual.
CHuiLayout * aParentLayoutThe parent layout of this visual.

Release()

IMPORT_C voidRelease()

Release this visual handler.

VisualHandlerExtension(const TUid &, TAny **)

IMPORT_C voidVisualHandlerExtension(const TUid &aExtensionUid,
TAny **aExtensionParameters
)[protected, virtual]

Parameters

const TUid & aExtensionUid
TAny ** aExtensionParameters

Member Data Documentation

TPrivateData * iPrivateData

TPrivateData *iPrivateData[private]

MAlfInterfaceProvider & iResolver

MAlfInterfaceProvider &iResolver[protected]

CHuiVisual * iVisual

CHuiVisual *iVisual[protected]