summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/options.h
blob: b1f2b65b0ed84c7c84bb820e289aeb21778cc449 (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
#ifndef __OPTIONS_H__
#define __OPTIONS_H__

INT_PTR CALLBACK OptionsDlgProc(HWND,UINT,WPARAM,LPARAM);
INT_PTR CALLBACK DlgProcOptionsGeneral(HWND,UINT,WPARAM,LPARAM);
INT_PTR CALLBACK DlgProcOptionsProto(HWND,UINT,WPARAM,LPARAM);
INT_PTR CALLBACK DlgProcOptionsPGP(HWND,UINT,WPARAM,LPARAM);
INT_PTR CALLBACK DlgProcOptionsGPG(HWND,UINT,WPARAM,LPARAM);
INT_PTR CALLBACK DlgProcSetPSK(HWND,UINT,WPARAM,LPARAM);
INT_PTR CALLBACK DlgProcSetPassphrase(HWND,UINT,WPARAM,LPARAM);
void ApplyGeneralSettings(HWND);
void ApplyProtoSettings(HWND);
void ApplyPGPSettings(HWND);
void ApplyGPGSettings(HWND);
void RefreshGeneralDlg(HWND,BOOL);
void RefreshProtoDlg(HWND);
void RefreshPGPDlg(HWND,BOOL);
void RefreshGPGDlg(HWND,BOOL);
void ResetGeneralDlg(HWND);
LPARAM getListViewParam(HWND,UINT);
void setListViewIcon(HWND,UINT,pUinKey);
void setListViewMode(HWND,UINT,UINT);
void setListViewStatus(HWND,UINT,UINT);
UINT getListViewPSK(HWND,UINT);
void setListViewPSK(HWND,UINT,UINT);
UINT getListViewPUB(HWND,UINT);
void setListViewPUB(HWND,UINT,UINT);
int onRegisterOptions(WPARAM,LPARAM);
int CALLBACK CompareFunc(LPARAM,LPARAM,LPARAM);
void ListView_Sort(HWND,LPARAM);
BOOL ShowSelectKeyDlg(HWND,LPSTR);
LPSTR LoadKeys(LPCSTR,BOOL);
BOOL SaveExportRSAKeyDlg(HWND,LPSTR,BOOL);
BOOL LoadImportRSAKeyDlg(HWND,LPSTR,BOOL);

#define getListViewContact(h,i)	(HANDLE)getListViewParam(h,i)
#define getListViewProto(h,i)	(int)getListViewParam(h,i)

#endif