summaryrefslogtreecommitdiff
path: root/worldtime_protocol/timezone_list.h
blob: 2208f98c9c2ab27e07c62a08a1c9fac423819406 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
	TCHAR pszText[MAX_NAME_LENGTH];
	int timezone_list_index;
} LISTITEM;

typedef OBJLIST<LISTITEM> ITEMLIST;

extern ITEMLIST listbox_items;

void load_listbox_items();
void save_listbox_items();
void copy_listbox_items(ITEMLIST &dest, ITEMLIST &src);

#endif