MPbk2ContactNameFormatter2 Class Reference

#include <app/MPbk2ContactNameFormatter2.h>

Link against: Pbk2Presentation.lib

class MPbk2ContactNameFormatter2
Public Member Functions
pure virtual HBufC *GetContactTitleWithCompanyNameL(const MVPbkBaseContactFieldCollection &, TUint32)
Protected Member Functions
virtual ~MPbk2ContactNameFormatter2()

Detailed Description

This class is an extension to MPbk2ContactNameFormatter. See documentation of MPbk2ContactNameFormatter from header MPbk2ContactNameFormatter.h

you can access this extension by calling MPbk2ContactNameFormatter->ContactNameFormatterExtension()

Constructor & Destructor Documentation

~MPbk2ContactNameFormatter2 ( )

~MPbk2ContactNameFormatter2()[protected, inline, virtual]

Member Function Documentation

GetContactTitleWithCompanyNameL ( const MVPbkBaseContactFieldCollection &, TUint32 )

HBufC *GetContactTitleWithCompanyNameL(const MVPbkBaseContactFieldCollection &aContactFields,
TUint32aFormattingFlags
)[pure virtual]

Returns the title text for a contact.

ParameterDescription
aContactFieldsField collection representing the data in a contact.
aFormattingFlagsFormatting flags, see TPbk2ContactTitleFormattingFlags.

Returns: A buffer containing the formatted title, or the UnnamedText() method's result if no title can be created.