source: trunk/TaskDataPage.h @ 31

Revision 31, 4.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// 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    CString m_strMask;
53    BOOL    m_bRemoveOnlySub;
54    BOOL    m_bSubfolders;
55    BOOL    m_bRemoveFolder;
56    CButton m_buRadioDisk;
57    CButton m_buRadioFiles;
58    CButton m_buRadioFile;
59    CButton m_buRadioMask;
60    BOOL    m_bPersistent;
61    BOOL    m_bUseWildCards;
62    BOOL    m_bWildCardsInSubfolders;
63   
64    //}}AFX_DATA
65
66
67// Overrides
68    // ClassWizard generate virtual function overrides
69    //{{AFX_VIRTUAL(CTaskDataPage)
70    public:
71    virtual void OnOK();
72    protected:
73    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
74    //}}AFX_VIRTUAL
75
76// Implementation
77protected:
78    // Generated message map functions
79    //{{AFX_MSG(CTaskDataPage)
80    afx_msg void OnBrowse();
81    afx_msg void OnBrowseFiles();
82    afx_msg void OnRemoveFolder();
83    afx_msg void OnRadioDisk();
84    afx_msg void OnRadioFiles();
85    afx_msg void OnRadioFile();
86    afx_msg void OnRadioMask();
87    virtual BOOL OnInitDialog();
88    afx_msg void OnCheckWildcards();
89    //}}AFX_MSG
90    DECLARE_MESSAGE_MAP()
91
92public:
93    DWORD m_dwFinishAction;
94    int m_iFinishActionInd;
95//  afx_msg void OnBnClickedRadio1();
96};
97
98
99/////////////////////////////////////////////////////////////////////////////
100// CTaskSchedulePage dialog
101
102class CTaskSchedulePage : public CPropertyPage
103{
104    DECLARE_DYNCREATE(CTaskSchedulePage)
105
106// Construction
107public:
108    CTaskSchedulePage();
109    ~CTaskSchedulePage();
110
111    COleDateTime m_odtTime;
112
113// Dialog Data
114    //{{AFX_DATA(CTaskSchedulePage)
115    enum { IDD = IDD_PROPPAGE_TASKSCHEDULE };
116    CTimeEdit   m_editTime;
117    BOOL    m_bPM;
118    int     m_iWhen;
119    //}}AFX_DATA
120
121
122// Overrides
123    // ClassWizard generate virtual function overrides
124    //{{AFX_VIRTUAL(CTaskSchedulePage)
125    public:
126    virtual void OnOK();
127    protected:
128    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
129    //}}AFX_VIRTUAL
130
131// Implementation
132protected:
133    BOOL m_b24Hour;
134
135    // Generated message map functions
136    //{{AFX_MSG(CTaskSchedulePage)
137    virtual BOOL OnInitDialog();
138    //}}AFX_MSG
139    DECLARE_MESSAGE_MAP()
140
141};
142
143/////////////////////////////////////////////////////////////////////////////
144// CTaskSchedulePage dialog
145
146class CTaskStatisticsPage : public CPropertyPage
147{
148    DECLARE_DYNCREATE(CTaskStatisticsPage)
149
150// Construction
151public:
152    CTaskStatisticsPage();
153    ~CTaskStatisticsPage();
154
155    LPTASKSTATISTICS m_lpts;
156
157
158// Dialog Data
159    //{{AFX_DATA(CTaskStatisticsPage)
160    enum { IDD = IDD_PROPPAGE_TASKSTATISTICS };
161    CString m_strStatistics;
162    //}}AFX_DATA
163
164
165// Overrides
166    // ClassWizard generate virtual function overrides
167    //{{AFX_VIRTUAL(CTaskStatisticsPage)
168    protected:
169    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
170    //}}AFX_VIRTUAL
171
172// Implementation
173protected:
174    void UpdateStatistics();
175    // Generated message map functions
176    //{{AFX_MSG(CTaskStatisticsPage)
177    virtual BOOL OnInitDialog();
178    afx_msg void OnButtonReset();
179    //}}AFX_MSG
180    DECLARE_MESSAGE_MAP()
181
182};
183
184
185
186
187#endif // __TASKDATAPAGE_H__
Note: See TracBrowser for help on using the repository browser.