diff options
author | JP Rosevear <jpr@src.gnome.org> | 2003-03-05 03:52:37 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-03-05 03:52:37 +0800 |
commit | 6b4c3984d52cfbf88ae84ee0102f4aa0c17a2a62 (patch) | |
tree | bba07b5f28966c10a90de8f550af895014b0b9bb /calendar/idl | |
parent | cd4477930e72b1be069d5c97b90d96e989645bfc (diff) | |
download | gsoc2013-evolution-6b4c3984d52cfbf88ae84ee0102f4aa0c17a2a62.tar gsoc2013-evolution-6b4c3984d52cfbf88ae84ee0102f4aa0c17a2a62.tar.gz gsoc2013-evolution-6b4c3984d52cfbf88ae84ee0102f4aa0c17a2a62.tar.bz2 gsoc2013-evolution-6b4c3984d52cfbf88ae84ee0102f4aa0c17a2a62.tar.lz gsoc2013-evolution-6b4c3984d52cfbf88ae84ee0102f4aa0c17a2a62.tar.xz gsoc2013-evolution-6b4c3984d52cfbf88ae84ee0102f4aa0c17a2a62.tar.zst gsoc2013-evolution-6b4c3984d52cfbf88ae84ee0102f4aa0c17a2a62.zip |
If only the pipe wouldn't break.
svn path=/trunk/; revision=20143
Diffstat (limited to 'calendar/idl')
-rw-r--r-- | calendar/idl/evolution-calendar.idl | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/calendar/idl/evolution-calendar.idl b/calendar/idl/evolution-calendar.idl index c7abc2ca7e..87a8d76e96 100644 --- a/calendar/idl/evolution-calendar.idl +++ b/calendar/idl/evolution-calendar.idl @@ -48,6 +48,13 @@ module Calendar { const CalObjType TYPE_JOURNAL = 1 << 2; const CalObjType TYPE_ANY = 0x07; + /* Flags for getting UID sequences */ + typedef long CalObjModType; + const CalObjModType MOD_THIS = 1 << 0; + const CalObjModType MOD_THISANDPRIOR = 1 << 1; + const CalObjModType MOD_THISANDFUTURE = 1 << 2; + const CalObjModType MOD_ALL = 0x07; + /* Flags for getting URI sequences */ typedef long CalMode; const CalMode MODE_LOCAL = 1 << 0; @@ -70,7 +77,7 @@ module Calendar { /* Used to store a time_t */ typedef unsigned long Time_t; - + /* An instance of a calendar component 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 @@ -139,18 +146,27 @@ module Calendar { /* Check write permissions for calendar */ boolean isReadOnly (); + + /* Information on how to schedule */ + string getStaticCapabilities (); /* Return the email address associated with this calendar, if any. */ string getEmailAddress () raises (NotFound); + string getAlarmEmailAddress () + raises (NotFound); + /* For going online/offline */ void setMode (in CalMode mode); /* Gets the number of components of the specified types */ long countObjects (in CalObjType type); + /* Get a default object of a given type */ + CalObj getDefaultObject (in CalObjType type); + /* Gets a component based on its URI */ CalObj getObject (in CalObjUID uid) raises (NotFound); @@ -208,11 +224,11 @@ module Calendar { * object after this call, and call getObject to get the * updated version. */ - void updateObjects (in CalObj calobj) + void updateObjects (in CalObj calobj, in CalObjModType mod) raises (InvalidObject, PermissionDenied); /* Removes a component */ - void removeObject (in CalObjUID uid) + void removeObject (in CalObjUID uid, in CalObjModType mod) raises (NotFound, PermissionDenied); /* Sends a component */ |