THuiCustomEventCommand Class Reference

class THuiCustomEventCommand : public THuiObjectCommand

THuiCustomEventCommand is a command that sends a custom event. The command can be sent to any individual MHuiEventHandler derived object or broadcasted to all CHuiControl derived objects.

Inherits from

Constructor & Destructor Documentation

THuiCustomEventCommand(TInt, MHuiEventHandler *)

IMPORT_CTHuiCustomEventCommand(TIntaEventParam,
MHuiEventHandler *aRecipient = NULL
)

Parameters

TInt aEventParamParameter of the custom event.
MHuiEventHandler * aRecipient = NULLOptional recipient of the event. If NULL then event is broadcasted.

Member Functions Documentation

CommandExtension(const TUid &, TAny **)

IMPORT_C voidCommandExtension(const TUid &aExtensionUid,
TAny **aExtensionParams
)[protected, virtual]

Parameters

const TUid & aExtensionUid
TAny ** aExtensionParams

ExecuteL(CHuiEnv &)

IMPORT_C voidExecuteL(CHuiEnv &aEnv)const [virtual]

Executes the command.

Parameters

CHuiEnv & aEnvThe environment in which the command is being executed.

Param()

IMPORT_C TIntParam()const

Determines the custom event parameter of the command.

Recipient()

IMPORT_C MHuiEventHandler *Recipient()const

Returns the recipient of the event, or NULL if none defined.

Size()

IMPORT_C TIntSize()const [virtual]

Returns the size of the command.

Member Data Documentation

TInt iEventParam

TInt iEventParam[private]

Custom event parameter. Application cau use re_interpret_cast to send pointer as param

TInt iSpare1

TInt iSpare1[private]

TInt iSpare2

TInt iSpare2[private]