aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/cal-backend.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-01-24 16:40:57 +0800
committerArturo Espinosa <unammx@src.gnome.org>2000-01-24 16:40:57 +0800
commit13429d5ff13d94a68148a7f16bf954c8939f3f19 (patch)
treeb65ba47768e17e0ee5b05a0a06a021eb894a301e /calendar/pcs/cal-backend.h
parent6e707feec4b4e2c9d89fe1278819addc1b8428fe (diff)
downloadgsoc2013-evolution-13429d5ff13d94a68148a7f16bf954c8939f3f19.tar
gsoc2013-evolution-13429d5ff13d94a68148a7f16bf954c8939f3f19.tar.gz
gsoc2013-evolution-13429d5ff13d94a68148a7f16bf954c8939f3f19.tar.bz2
gsoc2013-evolution-13429d5ff13d94a68148a7f16bf954c8939f3f19.tar.lz
gsoc2013-evolution-13429d5ff13d94a68148a7f16bf954c8939f3f19.tar.xz
gsoc2013-evolution-13429d5ff13d94a68148a7f16bf954c8939f3f19.tar.zst
gsoc2013-evolution-13429d5ff13d94a68148a7f16bf954c8939f3f19.zip
New function to remove a calendar client interface object from a backend.
2000-01-24 Federico Mena Quintero <federico@helixcode.com> * cal-backend.c (cal_backend_remove_cal): New function to remove a calendar client interface object from a backend. (cal_backend_load): Convert the URI to string and use Parse_MIME_FromFileName(). The conversion is not very smart, though. * cal-factory.c (load_backend): Moved most of the error handling upstream to load_fn(). (load_fn): Handle failure in case the backend could not be loaded. (cal_factory_destroy): Free the backends and the backend hash table. (add_calendar_client): Implemented. We create a Cal client interface object and attach it to the backend, and we notify the listener. svn path=/trunk/; revision=1618
Diffstat (limited to 'calendar/pcs/cal-backend.h')
-rw-r--r--calendar/pcs/cal-backend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/calendar/pcs/cal-backend.h b/calendar/pcs/cal-backend.h
index cffc3c5cc3..3c60b6961c 100644
--- a/calendar/pcs/cal-backend.h
+++ b/calendar/pcs/cal-backend.h
@@ -61,6 +61,7 @@ CalBackend *cal_backend_new (void);
GnomeVFSURI *cal_backend_get_uri (CalBackend *backend);
void cal_backend_add_cal (CalBackend *backend, Cal *cal);
+void cal_backend_remove_cal (CalBackend *backend, Cal *cal);
CalBackendLoadStatus cal_backend_load (CalBackend *backend, GnomeVFSURI *uri);