summaryrefslogtreecommitdiff
path: root/protocols/YAMN/src/browser/browser.h
blob: 6707d5062127ae3053246ee2b1a43af1e06232d0 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef __MAILBROWSER_H
#define __MAILBROWSER_H

typedef struct MailBrowserWinParam
{
#define YAMN_MAILBROWSERVERSION	1
	HANDLE ThreadRunningEV;
	CAccount *account;
	uint32_t nflags;			//flags YAMN_ACC_??? when new mails
	uint32_t nnflags;			//flags YAMN_ACC_??? when no new mails
	void *Param;
} YAMN_MAILBROWSERPARAM,*PYAMN_MAILBROWSERPARAM;

typedef struct MailShowMsgWinParam
{
	HANDLE ThreadRunningEV;
	CAccount *account;
	HYAMNMAIL mail;
} YAMN_MAILSHOWPARAM, *PYAMN_MAILSHOWPARAM;

typedef struct NoNewMailParam
{
#define YAMN_NONEWMAILVERSION	1
	HANDLE ThreadRunningEV;
	CAccount *account;
	uint32_t flags;
	void *Param;
} YAMN_NONEWMAILPARAM,*PYAMN_NONEWMAILPARAM;

struct BadConnectionParam
{
	HANDLE ThreadRunningEV;
	CAccount *account;
	UINT_PTR errcode;
	void *Param;
};

#endif