![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Section Contents
Applications that use this class will not work correctly on a version of EPOC earlier than ER5.
CBase |
Abstract: CBase behaviour. |
CContactItem |
Abstract: Contact item. |
cntitem.h
cntmodel.lib
A template is a contact item which can be used to seed the initial field set for other contact items.
Only the single system template is fully supported. The function CContactDatabase::TemplateId() returns the ID of the system template only, so other templates stored in the database can only be retrieved if you already know their TContactItemId.
static CContactTemplate* NewL();
static CContactTemplate* NewLC();
Use these functions to allocate and construct a new contact template.
If the new contact template is successfully constructed, NewLC() leaves it on the cleanup stack.
CContactTemplate* |
Pointer to the newly created contact template. |
static CContactTemplate* NewL(const CContactItem *aTemplate);
static CContactTemplate* NewLC(const CContactItem *aTemplate);
Creates a new CContactTemplate seeded from another template.
If the new contact template is successfully constructed, NewLC() leaves it on the cleanup stack.
const CContactItem *aTemplate |
The contact template to use as the seed. |
CContactTemplate* |
Pointer to the newly created contact template. |
TUid Type() const;
Implements the pure virtual function inherited from the base class CContactItem. Returns KUidContactTemplate.
TUid |
KUidContactTemplate. |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |