CAknTasObjectInfo Class Reference

class CAknTasObjectInfo : public CBase

Storage class for information about UI object

Since
S60 5.1

Inherits from

Constructor & Destructor Documentation

CAknTasObjectInfo()

CAknTasObjectInfo()

~CAknTasObjectInfo()

~CAknTasObjectInfo()

Member Functions Documentation

AddL(CAknTasClassInfo *)

voidAddL(CAknTasClassInfo *aObjPtr)

Parameters

CAknTasClassInfo * aObjPtr

ConstructL(TAny *, TAknTasHookObjectType)

voidConstructL(TAny *aObjPtr,
TAknTasHookObjectTypeaObjType = EAknHookTypeAvkon
)

Parameters

TAny * aObjPtr
TAknTasHookObjectType aObjType = EAknHookTypeAvkon

GetClassNames()

IMPORT_C HBufC *GetClassNames()

Interface for getting all the class names of this object. The names are separated by a colon.

Returned heap descriptor ownership passed to caller!

HBufC

GetControl()

IMPORT_C TAny *GetControl()const

Interface for getting the hooked object stored in this class. The pointer type depends on the object type, which can be checked with function Type(). Received pointer can then be cast into correct object type base class when doing the hook traversing.

TAknTasHookObjectType

IsA(TPtrC)

IMPORT_C TBoolIsA(TPtrCaClassName)

Interface for examining whether this object is of the given class. The given class name is matched against the class names stored for this object.

Parameters

TPtrC aClassNameClass name to match

MatchByControl(const CAknTasObjectInfo &, const CAknTasObjectInfo &)

TInt MatchByControl(const CAknTasObjectInfo &aInfo1,
const CAknTasObjectInfo &aInfo2
)[static]

Parameters

const CAknTasObjectInfo & aInfo1
const CAknTasObjectInfo & aInfo2

Type()

IMPORT_C TAknTasHookObjectTypeType()const

Interface for getting the type of this object.

TAknTasHookObjectType

Member Data Documentation

RPointerArray< CAknTasClassInfo > * iClassInfoArray

RPointerArray< CAknTasClassInfo > *iClassInfoArray[private]

TUint32 iControlKey

TUint32 iControlKey

TAny * iObjPtr

TAny *iObjPtr[private]

TAknTasHookObjectType iObjType

TAknTasHookObjectType iObjType[private]