source: trunk/PreferencesPage.h @ 3

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

Added the source files from root (SVN migration commit 1)

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