From 000e2ade56eb86a150a5a33e37bb685592e30186 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Mon, 17 Nov 2003 13:13:15 +0000 Subject: remove the AlarmNotify service, no more need for it, since the alarm 2003-11-17 Rodrigo Moya * idl/evolution-calendar.idl: remove the AlarmNotify service, no more need for it, since the alarm daemon will listen for changes on the GConf key. * gui/gnome-cal.c (add_alarms): removed function to talk to the alarm daemon. (client_cal_opened_cb): don't call add_alarms(). * gui/alarm-notify/alarm-notify.[ch]: made it a basic GObject. (AlarmNotify_addCalendar, AlarmNotify_removeCalendar): removed AlarmNotify interface implementation. (alarm_notify_class_init): no epv to initialize. (alarm_notify_remove_calendar): new function, copied from the CORBA method implementation. (alarm_notify_factory_fn): return NULL, since there is no objects that can be created via this factory now. * gui/alarm-notify/notify-main.c (main): now the factory is the alarm notification service itself. (load_calendars): no need to use exceptions here. * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in: now the factory is the alarm notification service itself. * gui/main.c (launch_alarm_daemon_cb): dont use the AlarmNotify CORBA types. svn path=/trunk/; revision=23384 --- calendar/idl/evolution-calendar.idl | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'calendar/idl/evolution-calendar.idl') diff --git a/calendar/idl/evolution-calendar.idl b/calendar/idl/evolution-calendar.idl index 30f92dffc8..66f4eb8939 100644 --- a/calendar/idl/evolution-calendar.idl +++ b/calendar/idl/evolution-calendar.idl @@ -20,27 +20,6 @@ module Calendar { /* A unique identifier for a calendar component */ typedef string CalObjUID; - /* Interface to the alarm notification service */ - interface AlarmNotify : Bonobo::Unknown { - exception InvalidURI {}; - exception BackendContactError {}; - exception NotFound {}; - - /* Adds a calendar to the alarm notification system so that - * alarms will be triggered for it. The calendar will be loaded - * automatically whenever the alarm daemon starts up. - */ - void addCalendar (in string uri) - raises (InvalidURI, BackendContactError); - - /* Removes a calendar from the alarm notification system and - * alarms will no longer be triggered for it. The calendar will - * no longer be loaded when the alarm daemon starts up. - */ - void removeCalendar (in string uri) - raises (InvalidURI, NotFound); - }; - /* Factory to centralize calendar component editor dialogs */ interface CompEditorFactory : Bonobo::Unknown { exception InvalidURI {}; -- cgit v1.2.3