-
Notifications
You must be signed in to change notification settings - Fork 0
/
WinMTROptions.h
62 lines (48 loc) · 1.4 KB
/
WinMTROptions.h
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
//*****************************************************************************
// FILE: WinMTROptions.h
//
//
// DESCRIPTION:
//
//
// NOTES:
//
//
//*****************************************************************************
#ifndef WINMTROPTIONS_H_
#define WINMTROPTIONS_H_
//*****************************************************************************
// CLASS: WinMTROptions
//
//
//*****************************************************************************
class WinMTROptions : public CDialog
{
public:
WinMTROptions(CWnd* pParent = NULL);
void SetUseDNS(BOOL udns) { useDNS = udns; };
void SetInterval(double i) { interval = i; };
void SetPingSize(int ps) { pingsize = ps; };
void SetMaxLRU(int mlru) { maxLRU = mlru; };
double GetInterval() { return interval; };
int GetPingSize() { return pingsize; };
int GetMaxLRU() { return maxLRU; };
BOOL GetUseDNS() { return useDNS; };
enum { IDD = IDD_DIALOG_OPTIONS };
CEdit m_editSize;
CEdit m_editInterval;
CEdit m_editMaxLRU;
CButton m_checkDNS;
protected:
virtual void DoDataExchange(CDataExchange* pDX);
virtual BOOL OnInitDialog();
virtual void OnOK();
afx_msg void OnLicense();
DECLARE_MESSAGE_MAP()
private:
double interval;
int pingsize;
int maxLRU;
BOOL useDNS;
};
#endif // ifndef WINMTROPTIONS_H_