Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Agenda Entry and Instance Overview


Purpose

The Agenda Entry and Instance API is the interface to individual entries and instances in an agenda file. It is also the interface to the repeat details, synchronisation and alarm information, because this information is associated with an entry.

[Top]


Architectural relationships

The Agenda Entry and Instance API is closely related to the following APIs: —

Agenda File. Entries and instances exist in agenda files. They are added to and deleted from the file and are accessed in the file using the Agenda File API.

To-do List. The to-do entry type (represents an action which needs to be carried out) is documented in the To-do Lists API.

Agenda Model Utilities. The dates and times associated with agenda entries (e.g. the start date/time of an appointment) are represented using agenda model dates and times rather than TTime values, as used elsewhere. These are documented in the Agenda Model Utilities API.

Versit. vEvents and vTodos can be imported into an agenda file as entries. Conversely, agenda entries can be exported from the agenda file as vEvents and vTodos.

Text and Text Attributes. All entries own a rich text object. The use of rich text means that entry text can contain formatting which applies to individual characters and paragraphs, embedded pictures and other objects such as Word documents, voice notes etc.

[Top]


Description

The API has the following key concepts:

Entry type. All entries have a type. The following entry types are supported:

Instances and entries. Instances are implemented by the same classes as entries, namely CAgnEvent, CAgnAnniv, CAgnAppt and CAgnTodo, but when they are accessed using the instance model (see the Agenda File API), a separate object (an instance) is created for each repeat of the entry, with the date and time information set for each individual repeat. A non-repeating entry or a to-do entry is represented by a single instance in the instance model.

IDs. Entries and instances are uniquely identified in an agenda file by IDs. Different types of ID are used in different circumstances:

[Top]


See also

Agenda File Overview

To-do List Overview

Agenda Model Utilities Overview

Versit Overview

Text and Text Attributes Overview