From 70c974e7d9d44db682cd9cc447485f292ad2aa54 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Thu, 29 Jun 2000 13:23:44 +0000 Subject: server code to service these: * pcs/cal.c (Cal_get_uid_by_pilot_id): (Cal_update_pilot_id): * pcs/cal-backend-imc.c (cal_backend_imc_update_pilot_id): (cal_backend_imc_get_uid_by_pilot_id): * pcs/cal-backend.c (cal_backend_get_uid_by_pilot_id): (cal_backend_update_pilot_id): server code to service these: * gui/calendar-pilot-sync.c: updated to make use of cal-client. also uses dirty bits on both sides to aid in syncing. * cal-client/cal-client.c (cal_client_get_uid_by_pilot_id): new function -- ask the cal server to return uid given an object's pilot id. (cal_client_update_pilot_id): new function -- inform the cal server of an objects pilot id and pilot dirty-flag. svn path=/trunk/; revision=3789 --- calendar/idl/evolution-calendar.idl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'calendar/idl') diff --git a/calendar/idl/evolution-calendar.idl b/calendar/idl/evolution-calendar.idl index b7340bf51a..f81cfbecf8 100644 --- a/calendar/idl/evolution-calendar.idl +++ b/calendar/idl/evolution-calendar.idl @@ -45,6 +45,9 @@ module Calendar { /* Used to store a time_t */ typedef unsigned long Time_t; + /* Used to store pilot IDs */ + typedef unsigned long PilotID; + /* An instance of a calendar object that actually occurs. These are * "virtual" objects in that they are used to represent instances of * recurring events and alarms. "Real" objects just contain the @@ -107,6 +110,23 @@ module Calendar { in Time_t start, in Time_t end) raises (NotFound, InvalidRange); + + /* something + * + */ + CalObjUID get_uid_by_pilot_id (in PilotID pilotid) + raises (NotFound); + + + /* + * update_pilot_id: + * @uid: Unique identifier for the event we want to update + * @pilot_id: new ID assigned by the pilot + * @pilot_status: Status to flag the event with + */ + void update_pilot_id (in CalObjUID uid, in PilotID pilot_id, in unsigned long pilot_status) + raises (NotFound); + /* Updates an object by adding it if it does not exist or by * changing an existing one. */ -- cgit v1.2.3