Back to index
|calIOperation||searchForCalendars (in AUTF8String aString, in unsigned long aHints, in unsigned long aMaxResults, in calIGenericOperationListener aListener)|
|Searches for calendars matching the specified search string. |
|const unsigned long||HINT_EXACT_MATCH = 1|
|Specifies whether the search string should exactly match. |
|calIOperation calICalendarSearchProvider::searchForCalendars||(||in AUTF8String||aString,|
|in unsigned long||aHints,|
|in unsigned long||aMaxResults,|
Searches for calendars matching the specified search string.
It's up to the search provider what properties of a calendar it takes into account for the search. The passed hints serve for optimization purposes. Callers need to keep in mind that providers may not be able to implement all of the stated hints passed, thus are required to filter further if necessary. Results are notified to the passed listener interface.
|aString||search string to match|
|aMaxResults||maximum number of results (0 denotes provider specific maximum)|
|aListener||called with an array of calICalendar objects|