source: trunk/TaskDataPage.h @ 47

Revision 47, 4.3 KB checked in by lowjoel, 7 years ago (diff)

Removed the Erase Files in Mask option.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1// TaskDataPage.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 __TASKDATAPAGE_H__
23#define __TASKDATAPAGE_H__
24
25#include "EraserUI\Masked.h"
26#include "EraserUI\DriveCombo.h"
27#include "Item.h"
28
29/////////////////////////////////////////////////////////////////////////////
30// CTaskDataPage dialog
31
32class CTaskDataPage : public CPropertyPage
33{
34    DECLARE_DYNCREATE(CTaskDataPage)
35
36// Construction
37public:
38    CTaskDataPage();
39    ~CTaskDataPage();
40
41    CString m_strSelectedDrive;
42    Type    m_tType;
43
44    BOOL    m_bShowPersistent;
45
46// Dialog Data
47    //{{AFX_DATA(CTaskDataPage)
48    enum { IDD = IDD_PROPPAGE_TASKDATA };
49    CDriveCombo m_comboDrives;
50    CString m_strFolder;
51    CString m_strFile;
52    BOOL    m_bRemoveOnlySub;
53    BOOL    m_bSubfolders;
54    BOOL    m_bRemoveFolder;
55    CButton m_buRadioDisk;
56    CButton m_buRadioFiles;
57    CButton m_buRadioFile;
58    BOOL    m_bPersistent;
59    BOOL    m_bUseWildCards;
60    BOOL    m_bWildCardsInSubfolders;
61   
62    //}}AFX_DATA
63
64
65// Overrides
66    // ClassWizard generate virtual function overrides
67    //{{AFX_VIRTUAL(CTaskDataPage)
68    public:
69    virtual void OnOK();
70    protected:
71    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
72    //}}AFX_VIRTUAL
73
74// Implementation
75protected:
76    // Generated message map functions
77    //{{AFX_MSG(CTaskDataPage)
78    afx_msg void OnBrowse();
79    afx_msg void OnBrowseFiles();
80    afx_msg void OnRemoveFolder();
81    afx_msg void OnRadioDisk();
82    afx_msg void OnRadioFiles();
83    afx_msg void OnRadioFile();
84    virtual BOOL OnInitDialog();
85    afx_msg void OnCheckWildcards();
86    //}}AFX_MSG
87    DECLARE_MESSAGE_MAP()
88
89public:
90    DWORD m_dwFinishAction;
91    int m_iFinishActionInd;
92//  afx_msg void OnBnClickedRadio1();
93};
94
95
96/////////////////////////////////////////////////////////////////////////////
97// CTaskSchedulePage dialog
98
99class CTaskSchedulePage : public CPropertyPage
100{
101    DECLARE_DYNCREATE(CTaskSchedulePage)
102
103// Construction
104public:
105    CTaskSchedulePage();
106    ~CTaskSchedulePage();
107
108    COleDateTime m_odtTime;
109
110// Dialog Data
111    //{{AFX_DATA(CTaskSchedulePage)
112    enum { IDD = IDD_PROPPAGE_TASKSCHEDULE };
113    CTimeEdit   m_editTime;
114    BOOL    m_bPM;
115    int     m_iWhen;
116    //}}AFX_DATA
117
118
119// Overrides
120    // ClassWizard generate virtual function overrides
121    //{{AFX_VIRTUAL(CTaskSchedulePage)
122    public:
123    virtual void OnOK();
124    protected:
125    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
126    //}}AFX_VIRTUAL
127
128// Implementation
129protected:
130    BOOL m_b24Hour;
131
132    // Generated message map functions
133    //{{AFX_MSG(CTaskSchedulePage)
134    virtual BOOL OnInitDialog();
135    //}}AFX_MSG
136    DECLARE_MESSAGE_MAP()
137
138};
139
140/////////////////////////////////////////////////////////////////////////////
141// CTaskSchedulePage dialog
142
143class CTaskStatisticsPage : public CPropertyPage
144{
145    DECLARE_DYNCREATE(CTaskStatisticsPage)
146
147// Construction
148public:
149    CTaskStatisticsPage();
150    ~CTaskStatisticsPage();
151
152    LPTASKSTATISTICS m_lpts;
153
154
155// Dialog Data
156    //{{AFX_DATA(CTaskStatisticsPage)
157    enum { IDD = IDD_PROPPAGE_TASKSTATISTICS };
158    CString m_strStatistics;
159    //}}AFX_DATA
160
161
162// Overrides
163    // ClassWizard generate virtual function overrides
164    //{{AFX_VIRTUAL(CTaskStatisticsPage)
165    protected:
166    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
167    //}}AFX_VIRTUAL
168
169// Implementation
170protected:
171    void UpdateStatistics();
172    // Generated message map functions
173    //{{AFX_MSG(CTaskStatisticsPage)
174    virtual BOOL OnInitDialog();
175    afx_msg void OnButtonReset();
176    //}}AFX_MSG
177    DECLARE_MESSAGE_MAP()
178
179};
180
181
182
183
184#endif // __TASKDATAPAGE_H__
Note: See TracBrowser for help on using the repository browser.