From 101996359f684e0282f1261f92f54d5b10e1ddb3 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Sat, 22 Jan 2000 07:09:39 +0000 Subject: Take in a GnomeVFSURI, not a string. 2000-01-22 Federico Mena Quintero * cal-backend.c (cal_backend_load): Take in a GnomeVFSURI, not a string. * cal-listener.c (Listener_cal_loaded): Pass the load status to the signal. (cal_listener_destroy): Better error checking. (cal_listener_new): Better error checking. * cal-listener.h (CalListenerLoadStatus): New enum for the load status of a calendar. (CalListenerClass): Added the status argument to the cal_loaded signal. * gnome-calendar.idl (cal_loaded): Added a load status code. * cal-backend.h (CalBackendLoadStatus): Renamed from CalBackendLoadResult. svn path=/trunk/; revision=1607 --- calendar/idl/evolution-calendar.idl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'calendar/idl') diff --git a/calendar/idl/evolution-calendar.idl b/calendar/idl/evolution-calendar.idl index 9ff87f62f6..390dfa1531 100644 --- a/calendar/idl/evolution-calendar.idl +++ b/calendar/idl/evolution-calendar.idl @@ -33,10 +33,16 @@ module Calendar { /* Listener for changes in a calendar */ interface Listener : Unknown { + /* Return status when loading a calendar; we need better error reporting */ + enum LoadStatus { + SUCESSS, + ERROR + }; + /* Called from a CalFactory when a calendar is initially loaded * or created. The listener must remember the cal object. */ - void cal_loaded (in Cal cal); + void cal_loaded (in LoadStatus status, in Cal cal); /* Called from a Calendar when an object is added */ void obj_added (in CalObj calobj); -- cgit