aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-02-12 10:03:58 +0800
committerArturo Espinosa <unammx@src.gnome.org>2000-02-12 10:03:58 +0800
commitd2fe58c56857e9e4b2e37f87174da6956b0d985c (patch)
treee71df413e8a7862616755f64700b1dbbc513f9be /calendar/cal.h
parent123f506198c535dcb073c1998fed37c25ad131f9 (diff)
downloadgsoc2013-evolution-d2fe58c56857e9e4b2e37f87174da6956b0d985c.tar
gsoc2013-evolution-d2fe58c56857e9e4b2e37f87174da6956b0d985c.tar.gz
gsoc2013-evolution-d2fe58c56857e9e4b2e37f87174da6956b0d985c.tar.bz2
gsoc2013-evolution-d2fe58c56857e9e4b2e37f87174da6956b0d985c.tar.lz
gsoc2013-evolution-d2fe58c56857e9e4b2e37f87174da6956b0d985c.tar.xz
gsoc2013-evolution-d2fe58c56857e9e4b2e37f87174da6956b0d985c.tar.zst
gsoc2013-evolution-d2fe58c56857e9e4b2e37f87174da6956b0d985c.zip
Implemented.
2000-02-11 Federico Mena Quintero <federico@helixcode.com> * cal-client.c (cal_client_update_object): Implemented. * cal.c (cal_notify_update): New function to notify the listener about an updated object. (Cal_update_object): Implemented. (Cal_get_uids): set_release() the sequence to TRUE. (Cal_get_events_in_range): Likewise. * cal-backend.c (remove_object): New function to remove objects from a calendar backend. (cal_backend_update_object): New public function to update an object and notify clients about it. * evolution-calendar.idl (Cal): Added update_object() and delete_object() methods. (Listener): Removed the obj_changed method and renamed obj_added to obj_updated. We now only have updated and removed notifiers. * cal-listener.[ch]: Removed the "changed" notification code. Changed the "added" notification code to the "updated" notification. * cal-client.c: Likewise. * tlacuache.c (create_cal_factory): Connect to "destroy" on the factory and exit the main loop when the factory is destroyed. * cal-factory.c (backend_destroy_cb): New callback used when a backend is destroyed. Removes the backend from the factory's hash table and unrefs the factory if all backends go away. (add_calendar_client): Free the environment. * cal.c (cal_new): Use bonobo_object_unref() if we fail to initialize. * cal-listener.c (cal_listener_new): Likewise. * layout.c (layout_events): Plug li.partition memory leak. svn path=/trunk/; revision=1742
Diffstat (limited to 'calendar/cal.h')
-rw-r--r--calendar/cal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/cal.h b/calendar/cal.h
index b866470437..18f38f5655 100644
--- a/calendar/cal.h
+++ b/calendar/cal.h
@@ -58,6 +58,8 @@ Evolution_Calendar_Cal cal_corba_object_create (BonoboObject *object);
Cal *cal_new (CalBackend *backend, Evolution_Calendar_Listener listener);
+void cal_notify_update (Cal *cal, const char *uid);
+
POA_Evolution_Calendar_Cal__epv *cal_get_epv (void);