diff options
author | Damon Chaplin <damon@ximian.com> | 2001-06-14 14:00:21 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-06-14 14:00:21 +0800 |
commit | 4517358debc8bcd761a469e901bae160704deaf2 (patch) | |
tree | 0233963c7d4d6a0d256f9a638c1e556f3364ee59 /calendar/idl | |
parent | 8089ac1639e1bf714bc8c467b0ad679b491e8088 (diff) | |
download | gsoc2013-evolution-4517358debc8bcd761a469e901bae160704deaf2.tar gsoc2013-evolution-4517358debc8bcd761a469e901bae160704deaf2.tar.gz gsoc2013-evolution-4517358debc8bcd761a469e901bae160704deaf2.tar.bz2 gsoc2013-evolution-4517358debc8bcd761a469e901bae160704deaf2.tar.lz gsoc2013-evolution-4517358debc8bcd761a469e901bae160704deaf2.tar.xz gsoc2013-evolution-4517358debc8bcd761a469e901bae160704deaf2.tar.zst gsoc2013-evolution-4517358debc8bcd761a469e901bae160704deaf2.zip |
new dialog for setting the time zone.
2001-06-14 Damon Chaplin <damon@ximian.com>
* gui/dialogs/e-timezone-dialog.[hc]:
* gui/dialogs/e-timezone-dialog.glade: new dialog for setting the
time zone.
* gui/dialogs/Makefile.am: added timezone dialog files.
* idl/evolution-calendar.idl: added CalTimezoneInfo struct and seq,
and getBuiltinTimezoneInfo method.
* pcs/cal.c (impl_Cal_get_builtin_timezone_info): implemented method.
(cal_class_init): added method to epv.
* cal-client/cal-client.c (struct CalClientPrivate): added
timezone_info array to contain cached info on builtin timezone city
names and coordinates.
(cal_client_get_builtin_timezone_info): new function to get the info
about builtin timezones.
* cal-client/cal-client.h: added CalTimezoneInfo struct, to contain
the city names and coords of the builtin timezones.
svn path=/trunk/; revision=10223
Diffstat (limited to 'calendar/idl')
-rw-r--r-- | calendar/idl/evolution-calendar.idl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/calendar/idl/evolution-calendar.idl b/calendar/idl/evolution-calendar.idl index e21f77fe2e..cec986210a 100644 --- a/calendar/idl/evolution-calendar.idl +++ b/calendar/idl/evolution-calendar.idl @@ -98,6 +98,18 @@ module Calendar { /* Used to represent a list of components plus their triggers */ typedef sequence<CalComponentAlarms> CalComponentAlarmsSeq; + + /* Used to transfer builtin timezone information. */ + struct CalTimezoneInfo { + string location; + double latitude; + double longitude; + }; + + /* Used to transfer a list of timezone info */ + typedef sequence<CalTimezoneInfo> CalTimezoneInfoSeq; + + interface Query; interface Listener; @@ -163,6 +175,10 @@ module Calendar { */ Query getQuery (in string sexp, in QueryListener ql) raises (CouldNotCreate); + + /* Returns information about all the builtin timezones. */ + CalTimezoneInfoSeq getBuiltinTimezoneInfo () + raises (NotFound); }; /* Listener for changes in a calendar */ |