CPbk2IconInfoContainer Class Reference

class CPbk2IconInfoContainer : public CBase

Phonebook 2 icon info container. A collection of Phonebook 2 icon info objects.

Inherits from

  • CPbk2IconInfoContainer

Constructor & Destructor Documentation

CPbk2IconInfoContainer()

CPbk2IconInfoContainer()[private, inline]

~CPbk2IconInfoContainer()

~CPbk2IconInfoContainer()

Destructor.

Member Functions Documentation

AppendIconL(CPbk2IconInfo *)

IMPORT_C voidAppendIconL(CPbk2IconInfo *aIconInfo)

Appends new icon info. The ownership of the icon info is transferred.

Parameters

CPbk2IconInfo * aIconInfoIcon info to be added to this container.

AppendIconsFromResourceL(TInt)

IMPORT_C voidAppendIconsFromResourceL(TIntaResourceId)

Appends new icon infos from resource. The resource file must be opened before usage.

Parameters

TInt aResourceIdResource id for icon infos to be added.

AppendIconsFromResourceL(TResourceReader &)

IMPORT_C voidAppendIconsFromResourceL(TResourceReader &aReader)

Appends new icon infos to the container.

Parameters

TResourceReader & aReaderA resource reader pointed to an array of PBK2_ICON_INFO resource structures.

ConstructL(TResourceReader &)

voidConstructL(TResourceReader &aReader)[private]

Parameters

TResourceReader & aReader

ConstructL()

voidConstructL()[private]

Find(const TPbk2IconId &)

IMPORT_C const CPbk2IconInfo *Find(const TPbk2IconId &aIconId)const

Finds a particular icon info from the container.

Parameters

const TPbk2IconId & aIconIdThe id of the icon to search for.

FindInfo(const TPbk2IconId &)

TInt FindInfo(const TPbk2IconId &aIconId)const [private]

Parameters

const TPbk2IconId & aIconId

NewL(TResourceReader &)

IMPORT_C CPbk2IconInfoContainer *NewL(TResourceReader &aReader)[static]

Creates a new instance of this class.

Parameters

TResourceReader & aReaderResource reader pointed to an array of PBK2_ICON_INFO resources.

NewL(TInt, CCoeEnv *)

IMPORT_C CPbk2IconInfoContainer *NewL(TIntaResourceId,
CCoeEnv *aCoeEnv = NULL
)[static]

Creates a new instance of this class.

Parameters

TInt aResourceIdResource id of an array of PBK2_ICON_INFO resources. The resource file must be open before usage.
CCoeEnv * aCoeEnv = NULLOptional CCoeEnv instance. This function performs faster if this parameter is provided.

NewL()

IMPORT_C CPbk2IconInfoContainer *NewL()[static]

Creates a new instance of this class.

Member Data Documentation

RPointerArray< CPbk2IconInfo > iInfoArray

RPointerArray< CPbk2IconInfo >iInfoArray[private]

CDesCArrayFlat * iMbmFileNames

CDesCArrayFlat *iMbmFileNames[private]