MPbkExtensionFactory Class Reference

class MPbkExtensionFactory

Abstract interface for creating phone book extensions. Instance of this factory should be kept as long as extensions are used, if resources are needed.

Public Member Functions
~MPbkExtensionFactory()
voidAddPbkFieldIconsL(CPbkIconInfoContainer *, CPbkIconArray *)
voidAddPbkTabIconsL(CPbkIconInfoContainer *, CPbkIconArray *)
MPbkAppUiExtension *CreatePbkAppUiExtensionL(CPbkContactEngine &)
MPbkContactEditorExtension *CreatePbkContactEditorExtensionL(CPbkContactItem &, CPbkContactEngine &, MPbkContactEditorControl &)
MPbkContactUiControlExtension *CreatePbkUiControlExtensionL(CPbkContactEngine &)
MPbkViewExtension *CreatePbkViewExtensionL(TUid, CPbkContactEngine &)
MPbkViewExtension *CreatePbkViewExtensionL(TUid, CPbkContactEngine &, CPbkAppViewBase &)
CAknView *CreateViewL(TUid)

Constructor & Destructor Documentation

~MPbkExtensionFactory()

~MPbkExtensionFactory()[inline, virtual]

Destructor.

Member Functions Documentation

AddPbkFieldIconsL(CPbkIconInfoContainer *, CPbkIconArray *)

voidAddPbkFieldIconsL(CPbkIconInfoContainer *aIconInfoContainer = NULL,
CPbkIconArray *aIconArray = NULL
)[inline, virtual]

Adds new field icons to Phonebook. This should match with fields and icons added to Phonebook in engine extension, CPbkEngineExtensionInterface. Parameters are pointers because it is not necessary to give either of those. Default implementation is empty.Inline implementations to get rid of warnings.

Parameters

CPbkIconInfoContainer * aIconInfoContainer = NULLicons infos to be added to field icons
CPbkIconArray * aIconArray = NULLsubset of field icons

AddPbkTabIconsL(CPbkIconInfoContainer *, CPbkIconArray *)

voidAddPbkTabIconsL(CPbkIconInfoContainer *aIconInfoContainer = NULL,
CPbkIconArray *aIconArray = NULL
)[inline, virtual]

Adds new tab icons to Phonebook. This should match with the tabs and icons added to Phonebook's view graph. Parameters are pointers because it is not necessary to give either of those. Default implementation is empty.

Parameters

CPbkIconInfoContainer * aIconInfoContainer = NULLicons infos to be added to field icons
CPbkIconArray * aIconArray = NULLsubset of field icons

CreatePbkAppUiExtensionL(CPbkContactEngine &)

MPbkAppUiExtension *CreatePbkAppUiExtensionL(CPbkContactEngine &aEngine)[pure virtual]

Creates a phonebook appui extension.

Parameters

CPbkContactEngine & aEngine

CreatePbkContactEditorExtensionL(CPbkContactItem &, CPbkContactEngine &, MPbkContactEditorControl &)

MPbkContactEditorExtension *CreatePbkContactEditorExtensionL(CPbkContactItem &aContact,
CPbkContactEngine &aEngine,
MPbkContactEditorControl &aEditorControl
)[pure virtual]

Creates a Phonebook contact editor extension.

Parameters

CPbkContactItem & aContactcurrently edited contact
CPbkContactEngine & aEnginefor creating temporary contact
MPbkContactEditorControl & aEditorControlfor requesting information

CreatePbkUiControlExtensionL(CPbkContactEngine &)

MPbkContactUiControlExtension *CreatePbkUiControlExtensionL(CPbkContactEngine &aEngine)[pure virtual]

Creates a Phonebook UI control extension.

Parameters

CPbkContactEngine & aEnginepbk engine to be provided to extensions.

CreatePbkViewExtensionL(TUid, CPbkContactEngine &)

MPbkViewExtension *CreatePbkViewExtensionL(TUidaId,
CPbkContactEngine &aEngine
)[pure virtual]

Creates a Phonebook view extension.

Parameters

TUid aIdid of the Phonebook view to create the extension for
CPbkContactEngine & aEnginepbk engine to be provided to extensions.

CreatePbkViewExtensionL(TUid, CPbkContactEngine &, CPbkAppViewBase &)

MPbkViewExtension *CreatePbkViewExtensionL(TUidaId,
CPbkContactEngine &aEngine,
CPbkAppViewBase &aAppView
)[inline, virtual]

Creates a Phonebook view extension. Default implementation is empty.

Parameters

TUid aIdid of the Phonebook view to create the extension for
CPbkContactEngine & aEnginepbk engine to be provided to extensions
CPbkAppViewBase & aAppViewapp view base to be provided to extensions

CreateViewL(TUid)

CAknView *CreateViewL(TUidaId)[pure virtual]

Creates a new extension-implemented Phonebook view.

Parameters

TUid aIdid of the extension view to create.