#include <app/MPbk2ContactNameFormatter2.h>
| class MPbk2ContactNameFormatter2 |
| Public Member Functions | |
|---|---|
| pure virtual HBufC * | GetContactTitleWithCompanyNameL(const MVPbkBaseContactFieldCollection &, TUint32) |
| Protected Member Functions | |
|---|---|
| virtual | ~MPbk2ContactNameFormatter2() |
This class is an extension to MPbk2ContactNameFormatter. See documentation of MPbk2ContactNameFormatter from header MPbk2ContactNameFormatter.h
you can access this extension by calling MPbk2ContactNameFormatter->ContactNameFormatterExtension()
| HBufC * | GetContactTitleWithCompanyNameL | ( | const MVPbkBaseContactFieldCollection & | aContactFields, |
| TUint32 | aFormattingFlags | |||
| ) | [pure virtual] | |||
Returns the title text for a contact.
| Parameter | Description |
|---|---|
| aContactFields | Field collection representing the data in a contact. |
| aFormattingFlags | Formatting flags, see TPbk2ContactTitleFormattingFlags. |
Returns: A buffer containing the formatted title, or the UnnamedText() method's result if no title can be created.