CPbk2IconFactory Class Reference

class CPbk2IconFactory : public CBase
Factory class for creating Phonebook 2 icons. Responsible for:
  • creating phonebook2 icons.

Inherits from

Constructor & Destructor Documentation

CPbk2IconFactory(const CPbk2IconInfoContainer *)

CPbk2IconFactory(const CPbk2IconInfoContainer *aIconContainer)[private]

Parameters

const CPbk2IconInfoContainer * aIconContainer

~CPbk2IconFactory()

~CPbk2IconFactory()[virtual]

Destructor.

Member Functions Documentation

AppendIconL(CPbk2IconInfo *)

IMPORT_C voidAppendIconL(CPbk2IconInfo *aIconInfo)

Appends a new icon to this factory.

Parameters

CPbk2IconInfo * aIconInfoicon to be appended. Ownership of the iconInfo is taken.

ConstructL()

voidConstructL()[private]

CreateIconL(const TPbk2IconId &)

IMPORT_C CGulIcon *CreateIconL(const TPbk2IconId &aIconId)const

Creates a Phonebook 2 icon identified by the given id.

Parameters

const TPbk2IconId & aIconIdThe id of the Phonebook 2 icon to create.

CreateIconL(const TPbk2IconId &, MAknsSkinInstance &, CFbsBitmap *&, CFbsBitmap *&)

IMPORT_C voidCreateIconL(const TPbk2IconId &aIconId,
MAknsSkinInstance &aSkin,
CFbsBitmap *&aBitmap,
CFbsBitmap *&aMask
)

Creates icon bitmaps.

Parameters

const TPbk2IconId & aIconIdThe phonebook2 icon id.
MAknsSkinInstance & aSkinSkin instance for bitmap creation.
CFbsBitmap *& aBitmapCreated bitmap.
CFbsBitmap *& aMaskCreated mask.

CreateIconLC(const TPbk2IconId &)

IMPORT_C CGulIcon *CreateIconLC(const TPbk2IconId &aIconId)const

Creates a Phonebook 2 icon identified by the given id.

Parameters

const TPbk2IconId & aIconIdThe id of the Phonebook 2 icon to create.

CreateIconLC(const TPbk2IconId &, MAknsSkinInstance &, CFbsBitmap *&, CFbsBitmap *&)

IMPORT_C voidCreateIconLC(const TPbk2IconId &aIconId,
MAknsSkinInstance &aSkin,
CFbsBitmap *&aBitmap,
CFbsBitmap *&aMask
)

Creates icon bitmaps.

Parameters

const TPbk2IconId & aIconIdThe phonebook2 icon id.
MAknsSkinInstance & aSkinSkin instance for bitmap creation.
CFbsBitmap *& aBitmapCreated bitmap.
CFbsBitmap *& aMaskCreated mask.

CreateImageL(const TPbk2IconId &)

IMPORT_C CEikImage *CreateImageL(const TPbk2IconId &aIconId)const

Creates an image identified by the given id.

Parameters

const TPbk2IconId & aIconIdThe id of the Phonebook 2 icon to create.

CreateImageLC(const TPbk2IconId &)

IMPORT_C CEikImage *CreateImageLC(const TPbk2IconId &aIconId)const

Creates an image identified by the given id.

Parameters

const TPbk2IconId & aIconIdThe id of the Phonebook 2 icon to create.

NewL()

IMPORT_C CPbk2IconFactory *NewL()[static]

Creates an icon factory for all core Phonebook 2 icons.

NewL(const CPbk2IconInfoContainer &)

IMPORT_C CPbk2IconFactory *NewL(const CPbk2IconInfoContainer &aIconContainer)[static]

Creates an icon factory for specified icons.

Parameters

const CPbk2IconInfoContainer & aIconContainerA collection of Phonebook 2 icon info objects

NewLC()

IMPORT_C CPbk2IconFactory *NewLC()[static]

Creates an icon factory for all core Phonebook 2 icons.

NewLC(const CPbk2IconInfoContainer &)

IMPORT_C CPbk2IconFactory *NewLC(const CPbk2IconInfoContainer &aIconContainer)[static]

Creates an icon factory for specified icons.

Parameters

const CPbk2IconInfoContainer & aIconContainerA collection of Phonebook 2 icon info objects

Member Data Documentation

CPbk2IconInfoContainer * iAllIconsContainer

CPbk2IconInfoContainer *iAllIconsContainer[private]

CPbk2ApplicationServices * iAppServices

CPbk2ApplicationServices *iAppServices[private]

const CPbk2IconInfoContainer * iIconContainer

const CPbk2IconInfoContainer *iIconContainer[private]