summaryrefslogtreecommitdiff
path: root/worldtime_protocol/timezone_list.h
blob: 27168d3ac6adfdf4d6e76673857888345745103f (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;
	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