source: trunk/PreferencesPage.h @ 31

Revision 31, 3.4 KB checked in by lowjoel, 7 years ago (diff)

Standardize the header

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1// PreferencesPage.h
2// $Id$
3//
4// Eraser. Secure data removal. For Windows.
5// Copyright © 1997-2001  Sami Tolvanen (sami@tolvanen.com).
6//
7// This program is free software; you can redistribute it and/or
8// modify it under the terms of the GNU General Public License
9// as published by the Free Software Foundation; either version 2
10// of the License, or (at your option) any later version.
11//
12// This program is distributed in the hope that it will be useful,
13// but WITHOUT ANY WARRANTY; without even the implied warranty of
14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15// GNU General Public License for more details.
16//
17// You should have received a copy of the GNU General Public License
18// along with this program; if not, write to the Free Software
19// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
20// 02111-1307, USA.
21
22#ifndef __PREFERENCESPAGE_H__
23#define __PREFERENCESPAGE_H__
24
25/////////////////////////////////////////////////////////////////////////////
26// CEraserPreferencesPage dialog
27
28class CEraserPreferencesPage : public CPropertyPage
29{
30    DECLARE_DYNCREATE(CEraserPreferencesPage)
31
32// Construction
33public:
34    CEraserPreferencesPage();
35    ~CEraserPreferencesPage();
36
37// Dialog Data
38    //{{AFX_DATA(CEraserPreferencesPage)
39    enum { IDD = IDD_PROPPAGE_ERASER };
40    BOOL    m_bClearSwap;
41    BOOL    m_bShellextResults;
42    BOOL    m_bResultsForFiles;
43    BOOL    m_bResultsForUnusedSpace;
44    BOOL    m_bResultsOnlyWhenFailed;
45    BOOL    m_bErasextEnabled;
46    BOOL    m_bEnableSlowPoll;
47    BOOL    m_bResolveLock;
48    BOOL    m_bResolveAskUser;
49    //}}AFX_DATA
50
51
52// Overrides
53    // ClassWizard generate virtual function overrides
54    //{{AFX_VIRTUAL(CEraserPreferencesPage)
55    public:
56        void OnOK();
57    protected:
58    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
59    //}}AFX_VIRTUAL
60
61// Implementation
62protected:
63    // Generated message map functions
64    //{{AFX_MSG(CEraserPreferencesPage)
65    virtual BOOL OnInitDialog();
66    afx_msg void OnCheckResultsForUnusedSpace();
67    afx_msg void OnCheckResultsForFiles();
68    //}}AFX_MSG
69    DECLARE_MESSAGE_MAP()
70
71
72   
73public:
74    afx_msg void OnBnClickedButtonProtection();
75    afx_msg void OnBnClickedButtonHotkeys();
76};
77
78
79/////////////////////////////////////////////////////////////////////////////
80// CSchedulerPreferencesPage dialog
81
82class CSchedulerPreferencesPage : public CPropertyPage
83{
84    DECLARE_DYNCREATE(CSchedulerPreferencesPage)
85
86// Construction
87public:
88    CSchedulerPreferencesPage();
89    ~CSchedulerPreferencesPage();
90
91// Dialog Data
92    //{{AFX_DATA(CSchedulerPreferencesPage)
93    enum { IDD = IDD_PROPPAGE_SCHEDULER };
94    CSpinButtonCtrl m_sbLimitSize;
95    BOOL    m_bLog;
96    BOOL    m_bStartup;
97    BOOL    m_bNoVisualErrors;
98    BOOL    m_bLogOnlyErrors;
99    DWORD   m_dwMaxLogSize;
100    BOOL    m_bNoTrayIcon;
101    BOOL    m_bQueueTasks;
102    BOOL    m_bEnabled;
103    BOOL    m_bHideOnMinimize;
104    //}}AFX_DATA
105
106
107// Overrides
108    // ClassWizard generate virtual function overrides
109    //{{AFX_VIRTUAL(CSchedulerPreferencesPage)
110    public:
111    virtual void OnOK();
112    protected:
113    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
114    //}}AFX_VIRTUAL
115
116// Implementation
117protected:
118    // Generated message map functions
119    //{{AFX_MSG(CSchedulerPreferencesPage)
120    afx_msg void OnCheckLogLimitsize();
121    afx_msg void OnCheckLog();
122    virtual BOOL OnInitDialog();
123    afx_msg void OnCheckNotrayicon();
124    //}}AFX_MSG
125    DECLARE_MESSAGE_MAP()
126
127};
128
129
130
131#endif // __PREFERENCESPAGE_H__
Note: See TracBrowser for help on using the repository browser.