aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-client/cal-client.h
diff options
context:
space:
mode:
authorDamon Chaplin <damon@ximian.com>2001-06-14 14:00:21 +0800
committerDamon Chaplin <damon@src.gnome.org>2001-06-14 14:00:21 +0800
commit4517358debc8bcd761a469e901bae160704deaf2 (patch)
tree0233963c7d4d6a0d256f9a638c1e556f3364ee59 /calendar/cal-client/cal-client.h
parent8089ac1639e1bf714bc8c467b0ad679b491e8088 (diff)
downloadgsoc2013-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/cal-client/cal-client.h')
-rw-r--r--calendar/cal-client/cal-client.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/calendar/cal-client/cal-client.h b/calendar/cal-client/cal-client.h
index 1f0211ef32..6d5891f7e1 100644
--- a/calendar/cal-client/cal-client.h
+++ b/calendar/cal-client/cal-client.h
@@ -65,6 +65,13 @@ typedef enum {
CAL_CLIENT_LOAD_LOADED
} CalClientLoadState;
+/* A timezone name and its coordinates in the world. */
+typedef struct _CalTimezoneInfo CalTimezoneInfo;
+struct _CalTimezoneInfo {
+ char *location;
+ double latitude;
+ double longitude;
+};
struct _CalClient {
GtkObject object;
@@ -126,6 +133,8 @@ gboolean cal_client_remove_object (CalClient *client, const char *uid);
CalQuery *cal_client_get_query (CalClient *client, const char *sexp);
+GArray *cal_client_get_builtin_timezone_info (CalClient *client);
+
END_GNOME_DECLS