mirror of https://github.com/Cisco-Talos/clamav
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.6 KiB
59 lines
1.6 KiB
// options.cpp : implementation file
|
|
//
|
|
|
|
/*
|
|
* Copyright (C) 2004 Nigel Horne <njh@bandsman.co.uk>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
*/
|
|
#include "stdafx.h"
|
|
#include "clamav.h"
|
|
|
|
#ifdef _DEBUG
|
|
#undef THIS_FILE
|
|
static char BASED_CODE THIS_FILE[] = __FILE__;
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// COptions dialog
|
|
|
|
|
|
COptions::COptions(CWnd* pParent /*=NULL*/)
|
|
: CDialog(COptions::IDD, pParent)
|
|
{
|
|
//{{AFX_DATA_INIT(COptions)
|
|
m_recursive = TRUE;
|
|
m_quarantineDir = _T("");
|
|
//}}AFX_DATA_INIT
|
|
}
|
|
|
|
void COptions::DoDataExchange(CDataExchange* pDX)
|
|
{
|
|
CDialog::DoDataExchange(pDX);
|
|
//{{AFX_DATA_MAP(COptions)
|
|
DDX_Check(pDX, IDC_RECURSIVE, m_recursive);
|
|
DDX_Text(pDX, IDC_QUARANTINE, m_quarantineDir);
|
|
//}}AFX_DATA_MAP
|
|
}
|
|
|
|
|
|
BEGIN_MESSAGE_MAP(COptions, CDialog)
|
|
//{{AFX_MSG_MAP(COptions)
|
|
//}}AFX_MSG_MAP
|
|
END_MESSAGE_MAP()
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// COptions message handlers
|
|
|