#include <app/cntitem.h>
class CContactTemplate : public CContactItem |
Public Member Functions | |
---|---|
IMPORT_C CContactTemplate * | NewL() |
IMPORT_C CContactTemplate * | NewL(const CContactItem *) |
IMPORT_C CContactTemplate * | NewLC() |
IMPORT_C CContactTemplate * | NewLC(const CContactItem *) |
virtual IMPORT_C TUid | Type() |
Inherited Enumerations | |
---|---|
CContactItem:@64 |
A contact item template.
This is a contact item which is used to seed the initial field set for other contact items.
Non-system (i.e. user-defined) templates are implemented by the CContactCardTemplate class. CContactCardTemplate should be used in preference to CContactTemplate.
IMPORT_C CContactTemplate * | NewL | ( | ) | [static] |
Allocates and constructs a new default system template.
Returns: Pointer to the newly created system template.
IMPORT_C CContactTemplate * | NewL | ( | const CContactItem * | aTemplate | ) | [static] |
Allocates and constructs a new system template seeded from another one.
Parameter | Description |
---|---|
aTemplate | The contact template to copy. |
Returns: Pointer to the newly created system template.
IMPORT_C CContactTemplate * | NewLC | ( | ) | [static] |
Allocates and constructs a new default system template.
Returns: Pointer to the newly created system template. This is left on the cleanup stack.
IMPORT_C CContactTemplate * | NewLC | ( | const CContactItem * | aTemplate | ) | [static] |
Allocates and constructs a new system template seeded from another one.
Parameter | Description |
---|---|
aTemplate | The contact template to copy. |
Returns: Pointer to the newly created system template. This is left on the cleanup stack.
IMPORT_C TUid | Type | ( | ) | const [virtual] |
Reimplemented from CContactItem::Type()const
Implements CContactItem::Type().
Returns: KUidContactTemplate.