source: trunk/Launcher/ConfirmDialog.cpp @ 6

Revision 6, 1.9 KB checked in by lowjoel, 7 years ago (diff)

Added the source files from Launcher (SVN migration commit 4)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1// ConfirmDialog.cpp
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#include "stdafx.h"
22#include "..\EraserDll\EraserDll.h"
23#include "Launcher.h"
24#include "ConfirmDialog.h"
25
26#ifdef _DEBUG
27#define new DEBUG_NEW
28#undef THIS_FILE
29static char THIS_FILE[] = __FILE__;
30#endif
31
32/////////////////////////////////////////////////////////////////////////////
33// CConfirmDialog dialog
34
35
36CConfirmDialog::CConfirmDialog(CWnd* pParent /*=NULL*/)
37    : CDialog(CConfirmDialog::IDD, pParent)
38{
39    //{{AFX_DATA_INIT(CConfirmDialog)
40        // NOTE: the ClassWizard will add member initialization here
41    //}}AFX_DATA_INIT
42}
43
44
45void CConfirmDialog::DoDataExchange(CDataExchange* pDX)
46{
47    CDialog::DoDataExchange(pDX);
48    //{{AFX_DATA_MAP(CConfirmDialog)
49        // NOTE: the ClassWizard will add DDX and DDV calls here
50    //}}AFX_DATA_MAP
51}
52
53
54BEGIN_MESSAGE_MAP(CConfirmDialog, CDialog)
55    //{{AFX_MSG_MAP(CConfirmDialog)
56    ON_BN_CLICKED(IDOPTIONS, OnOptions)
57    //}}AFX_MSG_MAP
58END_MESSAGE_MAP()
59
60/////////////////////////////////////////////////////////////////////////////
61// CConfirmDialog message handlers
62
63void CConfirmDialog::OnOptions()
64{
65    eraserShowOptions(GetSafeHwnd(), ERASER_PAGE_FILES);
66}
Note: See TracBrowser for help on using the repository browser.