summaryrefslogtreecommitdiff
path: root/worldtime_protocol/timezone_list.h
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2006-11-01 14:57:42 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2006-11-01 14:57:42 +0000
commitd513db102812c5dd83f94084e979bb7e24345498 (patch)
tree29f599f98d2d5fb01d0e1dcb58077459ea609961 /worldtime_protocol/timezone_list.h
parent610f48f080c6ae8c298a032cd92bb2ca9948aded (diff)
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@24 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'worldtime_protocol/timezone_list.h')
-rw-r--r--worldtime_protocol/timezone_list.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/worldtime_protocol/timezone_list.h b/worldtime_protocol/timezone_list.h
new file mode 100644
index 0000000..27168d3
--- /dev/null
+++ b/worldtime_protocol/timezone_list.h
@@ -0,0 +1,24 @@
+#ifndef _TIMEZONE_LIST_INC
+#define _TIMEZONE_LIST_INC
+
+#include "timezone.h"
+#include "time_convert.h"
+
+#define MAX_NAME_LENGTH 256
+
+typedef struct tagLISTITEM {
+ int cbSize;
+ HANDLE hContact;
+ char pszText[MAX_NAME_LENGTH];
+ int timezone_list_index;
+} LISTITEM;
+
+#include <vector>
+typedef std::vector<LISTITEM> ITEMLIST;
+
+extern ITEMLIST listbox_items;
+
+void load_listbox_items();
+void save_listbox_items();
+
+#endif