summaryrefslogtreecommitdiff
path: root/plugins/YAMN/proto/pop3/pop3opt.h
blob: c828c221e019cae550bf8ab229d45740997a7049 (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
39
40
41
42
#ifndef __OPTIONS_H
#define __OPTIONS_H

#define M_SHOWACTUAL	0
#define M_SHOWDEFAULT	1


//Enables account in options
BOOL DlgEnableAccount(HWND hDlg,WPARAM wParam,LPARAM lParam);

//Sets dialog controls to match current account
BOOL DlgShowAccount(HWND hDlg,WPARAM wParam,LPARAM lParam);

//Sets colors to match colors of actual account 
BOOL DlgShowAccountColors(HWND hDlg,WPARAM wParam,LPARAM lParam);

//Options dialog procedure
INT_PTR CALLBACK DlgProcPOP3AccOpt(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam);

//Options dialog procedure
BOOL CALLBACK DlgProcPOP3AccStatusOpt(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam);

//Options dialog procedure
INT_PTR CALLBACK DlgProcYAMNOpt(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam);

//Options dialog procedure
INT_PTR CALLBACK DlgProcPOP3AccPopup(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam);

//Initializes POP3 options for Miranda
int POP3OptInit(WPARAM wParam,LPARAM lParam);

//Sets dialog item text
BOOL DlgSetItemText(HWND hDlg,WPARAM wParam,const char*);
BOOL DlgSetItemTextW(HWND hDlg,WPARAM wParam,const WCHAR*);

#if defined( _UNICODE )
	#define DlgSetItemTextT DlgSetItemTextW
#else
	#define DlgSetItemTextT DlgSetItemText
#endif

#endif