зеркало из https://github.com/mozilla/pjs.git
missed this file for bug 315959, add .adoptItem for faster loading of ics files. r=dmose
This commit is contained in:
Родитель
069b30bc94
Коммит
2264fa7bee
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче