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

git-svn-id: svn://10.0.0.236/trunk@165232 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dmose%mozilla.org
2004-11-10 22:35:09 +00:00
parent 9a13d9df42
commit 39fac47238

View File

@@ -44,6 +44,7 @@
interface nsIURI; interface nsIURI;
interface calIItemBase; interface calIItemBase;
interface nsIVariant; interface nsIVariant;
interface nsISimpleEnumerator;
// forward decls for this file // forward decls for this file
interface calIObserver; interface calIObserver;
@@ -171,6 +172,18 @@ interface calICompositeCalendar : calICalendar
void addCalendar( in nsIURI aServer, in string aType ); void addCalendar( in nsIURI aServer, in string aType );
void removeCalendar( in nsIURI aServer ); void removeCalendar( in nsIURI aServer );
calICalendar getCalendar( 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;
}; };
/** /**