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 void AppendIconL ( CPbk2IconInfo * aIconInfo )

Appends a new icon to this factory.

Parameters

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

ConstructL()

void ConstructL ( ) [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 & aIconId The id of the Phonebook 2 icon to create.

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

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

Creates icon bitmaps.

Parameters

const TPbk2IconId & aIconId The phonebook2 icon id.
MAknsSkinInstance & aSkin Skin instance for bitmap creation.
CFbsBitmap *& aBitmap Created bitmap.
CFbsBitmap *& aMask Created 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 & aIconId The id of the Phonebook 2 icon to create.

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

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

Creates icon bitmaps.

Parameters

const TPbk2IconId & aIconId The phonebook2 icon id.
MAknsSkinInstance & aSkin Skin instance for bitmap creation.
CFbsBitmap *& aBitmap Created bitmap.
CFbsBitmap *& aMask Created mask.

CreateImageL(const TPbk2IconId &)

IMPORT_C CEikImage * CreateImageL ( const TPbk2IconId & aIconId ) const

Creates an image identified by the given id.

Parameters

const TPbk2IconId & aIconId The 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 & aIconId The 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 & aIconContainer A 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 & aIconContainer A 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]