Pbk2ContactNameFormatterFactory Class Reference

class Pbk2ContactNameFormatterFactory

Phonebook 2 contact name formatter factory. Pbk2ContactNameFormatterFactory is responsible for creating name formatter objects.

MPbk2ContactNameFormatter

Constructor & Destructor Documentation

Pbk2ContactNameFormatterFactory()

Pbk2ContactNameFormatterFactory()[private]

Member Functions Documentation

CreateL(const MVPbkFieldTypeList &, const CPbk2SortOrderManager &, RFs *)

IMPORT_C MPbk2ContactNameFormatter *CreateL(const MVPbkFieldTypeList &aMasterFieldTypeList,
const CPbk2SortOrderManager &aSortOrderManager,
RFs *aFs = NULL
)[static]

Creates and returns an MPbk2ContactNameFormatter instance. Uses Phonebook default unnamed text.

Parameters

const MVPbkFieldTypeList & aMasterFieldTypeListMaster field type list of Virtual Phonebook. Should be the FieldTypes() from CVPbkContactManager.
const CPbk2SortOrderManager & aSortOrderManagerSort order manager for fetching current sort order.
RFs * aFs = NULLA file system session reference for resource file handling. If NULL then an own session is created.

CreateL(const TDesC &, const MVPbkFieldTypeList &, const CPbk2SortOrderManager &, RFs *)

IMPORT_C MPbk2ContactNameFormatter *CreateL(const TDesC &aUnnamedText,
const MVPbkFieldTypeList &aMasterFieldTypeList,
const CPbk2SortOrderManager &aSortOrderManager,
RFs *aFs = NULL
)[static]

Creates and returns an MPbk2ContactNameFormatter instance.

Parameters

const TDesC & aUnnamedTextText to use for unnamed contacts.
const MVPbkFieldTypeList & aMasterFieldTypeListMaster field type list of Virtual Phonebook. Should be the FieldTypes() from CVPbkContactManager.
const CPbk2SortOrderManager & aSortOrderManagerSort order manager for fetching current sort order.
RFs * aFs = NULLA file system session reference for resource file handling. If NULL then an own session is created.

CreateL(const MVPbkFieldTypeList &, const CPbk2SortOrderManager &, TResourceReader &, const TDesC *, RFs *)

IMPORT_C MPbk2ContactNameFormatter *CreateL(const MVPbkFieldTypeList &aMasterFieldTypeList,
const CPbk2SortOrderManager &aSortOrderManager,
TResourceReader &aTitleFieldSelectorReader,
const TDesC *aUnnamedText,
RFs *aFs = NULL
)[static]

Creates and returns an MPbk2ContactNameFormatter instance.

Parameters

const MVPbkFieldTypeList & aMasterFieldTypeListMaster field type list of Virtual Phonebook. Should be the FieldTypes() from CVPbkContactManager.
const CPbk2SortOrderManager & aSortOrderManagerSort order manager for fetching current sort order.
TResourceReader & aTitleFieldSelectorReaderVPBK_FIELD_TYPE_SELECTOR from VPbkFieldType.rh Defines field types that can be used for name formatting
const TDesC * aUnnamedTextText to use for unnamed contacts. If NULL then default text is used
RFs * aFs = NULLA file system session reference for resource file handling. If NULL then an own session is created.