summaryrefslogtreecommitdiff
path: root/protocols/YAMN/proto/pop3/pop3opt.h
blob: 6a678284fa2fb1949ac19ef9ca1009cbeb65f51d (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
#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
INT_PTR 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*);


#define DlgSetItemTextT DlgSetItemTextW


#endif