Location:
agmxentr.h
Link against: agnmodel.lib
CAgnCategory
Supported from 6.0
A category associated with an agenda entry. The category's type is
held as a TAgnCategoryType
value (an enumerated type, see below).
The set of possible categories is as defined in the vCalendar 1.0 standard,
with the addition of an "Extended" category type.
The Extended category type allows for user-defined categories. An extended name is needed for an extended category. The name can be assigned a descriptor of any size.
Any number of categories can be specified for an entry.
CAgnEntry
provides member functions for adding, deleting and
fetching categories.
|
Defined in CAgnCategory
:
Category()
, Copy()
, EAppointment
, EBusiness
, EEducation
, EExtended
, EHoliday
, EMeeting
, EMiscellaneous
, EPersonal
, EPhoneCall
, ESickDay
, ESpecialOccasion
, ETravel
, EVacation
, ExtendedCategoryName()
, NewL()
, TAgnCategoryType
Inherited from CBase
:
operator new()
static CAgnCategory* NewL(TAgnCategoryType aCategory);
Allocates and constructs a category object of the specified
standard type. To create a category of user-defined type, use the other
overload of NewL()
.
|
static CAgnCategory* NewL(const TDesc& aExtendedName);
Allocates and constructs a category object of user-defined type, with an extended name.
|
void Copy(CAgnCategory* aSource);
Makes a copy of a category.
|
TAgnCategoryType Category() const;
Gets the category type.
|
TPtrC ExtendedCategoryName() const;
Gets the extended category name.
|
TAgnCategoryType
Agenda category type
|