ECalDataModelSubscriber

ECalDataModelSubscriber

Functions

Object Hierarchy

    GInterface
    ╰── ECalDataModelSubscriber

Description

Functions

e_cal_data_model_subscriber_component_added ()

void
e_cal_data_model_subscriber_component_added
                               (ECalDataModelSubscriber *subscriber,
                                ECalClient *client,
                                ECalComponent *comp);

Notifies the subscriber about an added component which belongs to the time range used by the subscriber .

Note: The subscriber can be frozen during these calls, to be able to cumulate multiple changes and propagate them at once.

Parameters

subscriber

an ECalDataModelSubscriber

 

client

an ECalClient, which notifies about the component addition

 

icalcomp

an ECalComponent which was added

 

e_cal_data_model_subscriber_component_modified ()

void
e_cal_data_model_subscriber_component_modified
                               (ECalDataModelSubscriber *subscriber,
                                ECalClient *client,
                                ECalComponent *comp);

Notifies the subscriber about a modified component which belongs to the time range used by the subscriber .

Note: The subscriber can be frozen during these calls, to be able to cumulate multiple changes and propagate them at once.

Parameters

subscriber

an ECalDataModelSubscriber

 

client

an ECalClient, which notifies about the component modification

 

comp

an ECalComponent which was modified

 

e_cal_data_model_subscriber_component_removed ()

void
e_cal_data_model_subscriber_component_removed
                               (ECalDataModelSubscriber *subscriber,
                                ECalClient *client,
                                const gchar *uid,
                                const gchar *rid);

Notifies the subscriber about a removed component identified by uid and rid . This component may or may not be within the time range specified by the subscriber .

Note: The subscriber can be frozen during these calls, to be able to cumulate multiple changes and propagate them at once.

Parameters

subscriber

an ECalDataModelSubscriber

 

client

an ECalClient, which notifies about the component removal

 

uid

UID of a removed component

 

rid

RID of a removed component

 

e_cal_data_model_subscriber_freeze ()

void
e_cal_data_model_subscriber_freeze (ECalDataModelSubscriber *subscriber);

Tells the subscriber that it'll be notified about multiple changes. Once all the notifications are done, a e_cal_data_model_subscriber_thaw() is called.

Note: This function can be called multiple times/recursively, with the same count of the e_cal_data_model_subscriber_thaw(), thus count with it.

Parameters

subscriber

an ECalDataModelSubscriber

 

e_cal_data_model_subscriber_thaw ()

void
e_cal_data_model_subscriber_thaw (ECalDataModelSubscriber *subscriber);

A pair function for e_cal_data_model_subscriber_freeze(), which notifies about the end of a content update.

Parameters

subscriber

an ECalDataModelSubscriber

 

Types and Values