|
|
|||
Location:
calcategory.h
Link against: calinterimapi.lib
class CCalCategory : public CBase;
Calendar categories can be associated with a calendar entry.
There are 12 built in category types defined by TCalCategoryType. Additionally, it is possible to define extended category types which are held as a descriptor of any length.
Any number of categories can be specified for an entry. CCalEntry provides member functions for adding, deleting and fetching categories for an entry.
CCalCategoryManager functions enable the client to add\delete\fetch categories from a Calendar session and to get a list of entries filtered by their category.
CBase - Base class for all classes to be instantiated on the heapCCalCategory - Calendar categories can be associated with a calendar entryDefined in CCalCategory:
Category(), ECalAppointment, ECalBusiness, ECalEducation, ECalExtended, ECalHoliday, ECalMeeting, ECalMiscellaneous, ECalPersonal, ECalPhoneCall, ECalSickDay, ECalSpecialOccasion, ECalTravel, ECalVacation, ExtendedCategoryName(), NewL(), NewL(), TCalCategoryType, ~CCalCategory()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
| Capability: | None |
static IMPORT_C CCalCategory *NewL(TCalCategoryType aCategory);
Allocates and constructs a category object of one of the standard types.
|
|
| Capability: | None |
static IMPORT_C CCalCategory *NewL(const TDesC &aExtendedName);
Allocates and constructs a category object of user-defined type with specified category name.
|
|
| Capability: | None |
IMPORT_C ~CCalCategory();
The destructor frees all resources owned by the category, prior to its destruction.
| Capability: | None |
IMPORT_C TCalCategoryType Category() const;
Gets the category type.
|
| Capability: | None |
IMPORT_C const TDesC &ExtendedCategoryName() const;
Gets the extended category name.
|
TCalCategoryType
Calendar category type.
|