aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/idl
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/idl')
-rw-r--r--calendar/idl/evolution-calendar.idl8
1 files changed, 7 insertions, 1 deletions
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);