CAknTasHook Class Reference

class CAknTasHook : public CCoeStatic

Storage class for storing information about all UI objects

Since
S60 5.1

Inherits from

Constructor & Destructor Documentation

CAknTasHook()

CAknTasHook()[private]

~CAknTasHook()

~CAknTasHook()

Member Functions Documentation

AddCommonCoeInfoL(CCoeControl *, MTasObject &)

voidAddCommonCoeInfoL(CCoeControl *aObjPtr,
MTasObject &aObjectInfo
)[private]

Parameters

CCoeControl * aObjPtr
MTasObject & aObjectInfo

AddInfoL(TAny *, TPtrC, TAknTasHookObjectType)

voidAddInfoL(TAny *aObjPtr,
TPtrCaStrPtr,
TAknTasHookObjectTypeaObjType
)

Parameters

TAny * aObjPtr
TPtrC aStrPtr
TAknTasHookObjectType aObjType

AddL(TAny *, TPtrC, TAknTasHookObjectType)

IMPORT_C voidAddL(TAny *aObjPtr,
TPtrCaStrPtr,
TAknTasHookObjectTypeaObjType = EAknHookTypeAvkon
)[static]

Interface for adding an object (hook) to the object info data structure. This is a class function and can be conveniently used from the helper macros.

TAknTasHookObjectType

Parameters

TAny * aObjPtrPointer to the added object
TPtrC aStrPtrAdded object class name
TAknTasHookObjectType aObjType = EAknHookTypeAvkonType of the hooked object, default EAknHookTypeAvkon

CheckSanityL(CCoeControl *)

TBool CheckSanityL(CCoeControl *aCcontrol)[private]

Parameters

CCoeControl * aCcontrol

ConstructL()

voidConstructL()

CreateNotifyHandlerL(CRepository &, TUint32)

CCenRepNotifyHandler *CreateNotifyHandlerL(CRepository &aRepository,
TUint32aKey
)

Parameters

CRepository & aRepository
TUint32 aKey

ExistsL(TAny *)

TBool ExistsL(TAny *aObjPtr)[static]

Parameters

TAny * aObjPtr

Get(TAny *)

IMPORT_C CAknTasObjectInfo *Get(TAny *aObjPtr)[static]

Interface for getting a stored object (hook) information from the object info data structure. This is a class function.

CAknTasObjectInfo

Parameters

TAny * aObjPtrPointer to the object whose info to get

GetAknUiLC(MTasObject &)

IMPORT_C voidGetAknUiLC(MTasObject &aParentApplication)

Add avkon internal details to the provided tas model object. In most cases the object given represents the application being traversed.

Parameters

MTasObject & aParentApplicationThe object where to add the internal data

GetAll()

IMPORT_C RPointerArray< CAknTasObjectInfo > *GetAll()

Interface for getting all stored objects' (hooks') information from the object info data structure.

RPointerArray CAknTasObjectInfo

GetInfo(TAny *)

CAknTasObjectInfo *GetInfo(TAny *aObjPtr)

Parameters

TAny * aObjPtr

HandleNotifyInt(TUint32, TInt)

voidHandleNotifyInt(TUint32aId,
TIntaNewValue
)

Parameters

TUint32 aId
TInt aNewValue

InfoExistsL(TAny *)

TBool InfoExistsL(TAny *aObjPtr)

Parameters

TAny * aObjPtr

Initialized()

TBool Initialized()

InstanceL()

CAknTasHook *InstanceL()[static]

Remove(TAny *)

IMPORT_C voidRemove(TAny *aObjPtr)[static]

Interface for removing an object (hook) from the object info data structure. This is a class function and can be conveniently used from the helper macros.

Parameters

TAny * aObjPtrPointer to the object to be removed

RemoveInfoL(TAny *)

voidRemoveInfoL(TAny *aObjPtr)

Parameters

TAny * aObjPtr

Self()

CAknTasHook *Self()[static]

Member Data Documentation

CCenRepNotifyHandler * iHookStoringNotifyHandler

CCenRepNotifyHandler *iHookStoringNotifyHandler[private]

CCenRepNotifyHandler * iHookingNotifyHandler

CCenRepNotifyHandler *iHookingNotifyHandler[private]

RPointerArray< CAknTasObjectInfo > * iObjectInfoArray

RPointerArray< CAknTasObjectInfo > *iObjectInfoArray[private]

TBool iTasHookStoringEnabled

TBool iTasHookStoringEnabled[private]

TBool iTasHookingEnabled

TBool iTasHookingEnabled[private]

CRepository * iTasHookingRepo

CRepository *iTasHookingRepo[private]

CAknTasPluginInterface * iTasPlugin

CAknTasPluginInterface *iTasPlugin[private]