TPbk2IconId Class Reference

class TPbk2IconId

Phonebook 2 icon identification. This class is responsible for implementing a unique identifier for icons in the Phonebook context.

Constructor & Destructor Documentation

TPbk2IconId()

IMPORT_CTPbk2IconId()

Default C++ constructor. Constructs a null icon id.

TPbk2IconId(const TUid &, TInt)

IMPORT_CTPbk2IconId(const TUid &aOwnerUid,
TIntaIconId
)

Constructor that takes the owner uid and icon id.

Parameters

const TUid & aOwnerUidThe UID that specifies whose icon this is. It's used the identify icons from different components that are used in the same data structure. The UID could be e.g a Phonebook 2 UID for application defined icons and ECom implementation UID for UI extension icons.
TInt aIconIdThe id of the icon under the owner.

TPbk2IconId(TResourceReader &)

IMPORT_CTPbk2IconId(TResourceReader &aReader)

Constructor that takes a resource reader that points to a PHONEBOOK2_ICON_ID structure.

Parameters

TResourceReader & aReaderResource reader to a PHONEBOOK2_ICON_ID resource structure.

Member Functions Documentation

IsOwner(const TUid &)

TBool IsOwner(const TUid &aUid)const [inline]

Checks if passed uid is owner of this structure

Parameters

const TUid & aUidOwner UID to check.

operator==(const TPbk2IconId &)

IMPORT_C TBooloperator==(const TPbk2IconId &aRhs)const

Comparison that returns ETrue if the icon ids are the same.

Parameters

const TPbk2IconId & aRhsAn icon id to compare.

Member Data Documentation

TInt iIconId

TInt iIconId[private]

TUid iOwnersUid

TUid iOwnersUid[private]

TInt32 iSpare1

TInt32 iSpare1[private]

TInt32 iSpare2

TInt32 iSpare2[private]