Added an enumerator of all calendars on the composite as well as way to set the default calendar for addItem(). Not part of build.

This commit is contained in:
dmose%mozilla.org 2004-11-10 22:35:09 +00:00
Родитель 5d4acd52fe
Коммит f935a248be
1 изменённых файлов: 13 добавлений и 0 удалений

Просмотреть файл

@ -44,6 +44,7 @@
interface nsIURI;
interface calIItemBase;
interface nsIVariant;
interface nsISimpleEnumerator;
// forward decls for this file
interface calIObserver;
@ -171,6 +172,18 @@ interface calICompositeCalendar : calICalendar
void addCalendar( in nsIURI aServer, in string aType );
void removeCalendar( in nsIURI aServer );
calICalendar getCalendar( in nsIURI aServer );
/**
* An enumerator of all calICalendars that make up this composite.
*/
readonly attribute nsISimpleEnumerator calendars;
/**
* In order for addItem() to be called on this object, it is first necessary
* to set this attribute to specify which underlying calendar the item is
* to be added to.
*/
attribute nsIURI defaultCalendar;
};
/**