From 4517358debc8bcd761a469e901bae160704deaf2 Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Thu, 14 Jun 2001 06:00:21 +0000 Subject: new dialog for setting the time zone. 2001-06-14 Damon Chaplin * 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 --- calendar/idl/evolution-calendar.idl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'calendar/idl/evolution-calendar.idl') 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 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 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 */ -- cgit v1.2.3