diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-02-01 18:06:20 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 2000-02-01 18:06:20 +0800 |
commit | 1da8f9c265082e10fb9694a6bf92a0bae2b1312b (patch) | |
tree | b2b07bf1755ed462495258e16ae692b2666d3f4b /calendar/cal-client/cal-client.h | |
parent | a2d268b3d195589ab41ddf2e13eaf45040e86803 (diff) | |
download | gsoc2013-evolution-1da8f9c265082e10fb9694a6bf92a0bae2b1312b.tar.gz gsoc2013-evolution-1da8f9c265082e10fb9694a6bf92a0bae2b1312b.tar.zst gsoc2013-evolution-1da8f9c265082e10fb9694a6bf92a0bae2b1312b.zip |
Handle the cal_loaded signal from the listener. Store the calendar client
2000-02-01 Federico Mena Quintero <federico@helixcode.com>
* cal-client.c (cal_loaded): Handle the cal_loaded signal from the
listener. Store the calendar client interface object, and emit
our own cal_loaded signal.
(cal_client_load_calendar): Connect to the listener's signals.
(cal_client_class_init): Added the "obj_added", "obj_removed",
öbj_changed" signals.
(obj_added_cb): Handle the signal from the listener.
(obj_removed_cb): Likewise.
(obj_changed_cb): Likewise.
svn path=/trunk/; revision=1658
Diffstat (limited to 'calendar/cal-client/cal-client.h')
-rw-r--r-- | calendar/cal-client/cal-client.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/cal-client/cal-client.h b/calendar/cal-client/cal-client.h index 1056fd1022..fea3e37605 100644 --- a/calendar/cal-client/cal-client.h +++ b/calendar/cal-client/cal-client.h @@ -54,7 +54,13 @@ struct _CalClient { struct _CalClientClass { GtkObjectClass parent_class; + /* Notification signals */ + void (* cal_loaded) (CalClient *client, CalClientLoadStatus status); + + void (* obj_added) (CalClient *client, const char *str_obj); + void (* obj_removed) (CalClient *client, const char *uid); + void (* obj_changed) (CalClient *client, const char *str_obj); }; GtkType cal_client_get_type (void); |