#include <app/cntitem.h>
class CContactCard : public CContactItemPlusGroup |
Public Member Functions | |
---|---|
~CContactCard() | |
IMPORT_C CContactIdArray * | GroupsJoinedLC() |
IMPORT_C CContactCard * | NewL() |
IMPORT_C CContactCard * | NewL(const CContactItem *) |
IMPORT_C CContactCard * | NewLC() |
IMPORT_C CContactCard * | NewLC(const CContactItem *) |
virtual IMPORT_C TUid | Type() |
Inherited Enumerations | |
---|---|
CContactItem:@64 |
A contact card.
Implements the Type() function declared in class CContactItem. Contact cards may optionally be constructed from a template.
IMPORT_C | ~CContactCard | ( | ) |
Frees all resources owned by the contact card, prior to its destruction.
IMPORT_C CContactIdArray * | GroupsJoinedLC | ( | ) | const |
Reimplemented from CContactItemPlusGroup::GroupsJoinedLC()const
Returns a pointer to a list of contact item IDs which identify the groups to which this contact card belongs.
Returns: A pointer to a copy of the array of groups IDs to which this contact card belongs. This array is empty if the card is not a member of any groups. The caller takes ownership of this object, so is responsible for its deletion.
IMPORT_C CContactCard * | NewL | ( | ) | [static] |
Allocates and constructs a new contact card.
Returns: Pointer to the newly created contact card.
IMPORT_C CContactCard * | NewL | ( | const CContactItem * | aTemplate | ) | [static] |
Allocates and constructs a new contact card whose field set is seeded from a template.
Parameter | Description |
---|---|
aTemplate | Pointer to the template whose field set and field data are copied into the new contact card. |
Returns: Pointer to the newly created contact card.
IMPORT_C CContactCard * | NewLC | ( | ) | [static] |
Allocates and constructs a new contact card.
Returns: Pointer to the newly created contact card. This is left on the cleanup stack.
IMPORT_C CContactCard * | NewLC | ( | const CContactItem * | aTemplate | ) | [static] |
Allocates and constructs a new contact card whose field set is seeded from a template.
Parameter | Description |
---|---|
aTemplate | Pointer to the template whose field set and field data are copied into the new contact card. |
Returns: Pointer to the newly created contact card. This is left on the cleanup stack.
IMPORT_C TUid | Type | ( | ) | const [virtual] |
Reimplemented from CContactItem::Type()const
Implements CContactItem::Type().
Returns: KUidContactCard.