#include <app/Pbk2ContactNameFormatterFactory.h>
class Pbk2ContactNameFormatterFactory |
Public Member Functions | |
---|---|
IMPORT_C MPbk2ContactNameFormatter * | CreateL(const MVPbkFieldTypeList &, const CPbk2SortOrderManager &, RFs *) |
IMPORT_C MPbk2ContactNameFormatter * | CreateL(const TDesC &, const MVPbkFieldTypeList &, const CPbk2SortOrderManager &, RFs *) |
IMPORT_C MPbk2ContactNameFormatter * | CreateL(const MVPbkFieldTypeList &, const CPbk2SortOrderManager &, TResourceReader &, const TDesC *, RFs *) |
Phonebook 2 contact name formatter factory. Pbk2ContactNameFormatterFactory is responsible for creating name formatter objects.
See also: MPbk2ContactNameFormatter
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.
Parameter | Description |
---|---|
aMasterFieldTypeList | Master field type list of Virtual Phonebook. Should be the FieldTypes() from CVPbkContactManager. |
aSortOrderManager | Sort order manager for fetching current sort order. |
aFs | A file system session reference for resource file handling. If NULL then an own session is created. |
Returns: A new MPbk2ContactNameFormatter instance.
IMPORT_C MPbk2ContactNameFormatter * | CreateL | ( | const TDesC & | aUnnamedText, |
const MVPbkFieldTypeList & | aMasterFieldTypeList, | |||
const CPbk2SortOrderManager & | aSortOrderManager, | |||
RFs * | aFs = NULL | |||
) | [static] |
Creates and returns an MPbk2ContactNameFormatter instance.
Parameter | Description |
---|---|
aUnnamedText | Text to use for unnamed contacts. |
aMasterFieldTypeList | Master field type list of Virtual Phonebook. Should be the FieldTypes() from CVPbkContactManager. |
aSortOrderManager | Sort order manager for fetching current sort order. |
aFs | A file system session reference for resource file handling. If NULL then an own session is created. |
Returns: A new MPbk2ContactNameFormatter instance.
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.
Parameter | Description |
---|---|
aMasterFieldTypeList | Master field type list of Virtual Phonebook. Should be the FieldTypes() from CVPbkContactManager. |
aSortOrderManager | Sort order manager for fetching current sort order. |
aTitleFieldSelectorReader | VPBK_FIELD_TYPE_SELECTOR from VPbkFieldType.rh Defines field types that can be used for name formatting |
aUnnamedText | Text to use for unnamed contacts. If NULL then default text is used |
aFs | A file system session reference for resource file handling. If NULL then an own session is created. |
Returns: A new MPbk2ContactNameFormatter instance.