missed this file for bug 315959, add .adoptItem for faster loading of ics files. r=dmose

This commit is contained in:
mvl%exedo.nl 2006-01-20 17:03:50 +00:00
Родитель 069b30bc94
Коммит 2264fa7bee
1 изменённых файлов: 10 добавлений и 0 удалений

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

@ -152,6 +152,16 @@ interface calICalendar : nsISupports
*/
void addItem( in calIItemBase aItem, in calIOperationListener aListener );
/**
* adoptItem adds the given calIItemBase to the calendar, but doesn't
* clone it. It adopts the item as-is. This is generally for use in
* performance-critical situations where there is no danger of the caller
* using the item after making the call.
*
* @see addItem
*/
void adoptItem( in calIItemBase aItem, in calIOperationListener aListener );
/**
* modifyItem takes a modified mutable item and modifies the
* calendar's internal version of the item to match. The item is