Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
calIChangeLog Interface Reference

Calendar implementing this interface have improved means of replaying their changelog data. More...

import "calIChangeLog.idl";

Inheritance diagram for calIChangeLog:
Inheritance graph
[legend]
Collaboration diagram for calIChangeLog:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void resetLog ()
 Resets the changelog.
calIOperation replayChangesOn (in calISyncCalendar aDestination, in calIGenericOperationListener aListener)
 Instructs the calendar to replay remote changes into the given calendar.

Detailed Description

Calendar implementing this interface have improved means of replaying their changelog data.

This could for example mean, that the provider can retrieve changes between now and the last sync.

Not implementing this interface is perfectly valid for calendars, that need to do a full sync each time anyway (i.e ics)

Definition at line 100 of file calIChangeLog.idl.


Member Function Documentation

Instructs the calendar to replay remote changes into the given calendar.

The calendar itself is responsible for storing anything needed to keep track of what items need updating.

TODO: We might reconsider to replay on calICalendar, but this complicates implementing this interface enormously for providers.

Parameters:
aDestinationThe calendar to sync changes into
aListenerThe listener to notify when the operation completes.

Resets the changelog.

This is used if the cache should be refreshed.


The documentation for this interface was generated from the following file: