www.pudn.com > antinimda.zip > nimdadlg.h
// nimdaDlg.h : header file
//
#if !defined(AFX_NIMDADLG_H__5991E4AE_C09D_4D18_91C1_1F77215FB8B3__INCLUDED_)
#define AFX_NIMDADLG_H__5991E4AE_C09D_4D18_91C1_1F77215FB8B3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "VirusCleaner.h"
/////////////////////////////////////////////////////////////////////////////
// CNimdaDlg dialog
class CNimdaDlg : public CDialog, public CVirusCleaner
{
// Construction
public:
CNimdaDlg(CWnd* pParent = NULL, bool auto_scan=false); // standard constructor
// Dialog Data
//{{AFX_DATA(CNimdaDlg)
enum { IDD = IDD_NIMDA_DIALOG };
CStatic bytesscanned;
CButton btnViewLog;
CButton btnPause;
CEdit root;
CButton btnOk;
CListCtrl output;
CStatic skipped;
CStatic scanrate;
CStatic errors;
CStatic deleted;
CStatic velocity;
CStatic time;
CStatic scanned;
CStatic infected;
CStatic file;
CStatic directories;
CStatic cleaned;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CNimdaDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
bool m_autoscan;
void UpdateStatistics();
virtual void OnInfected(LPCTSTR filename, VirusKiller::SCANRESULT result);
// Generated message map functions
//{{AFX_MSG(CNimdaDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnTimer(UINT nIDEvent);
virtual void OnOK();
afx_msg void OnPause();
afx_msg void OnViewlog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_NIMDADLG_H__5991E4AE_C09D_4D18_91C1_1F77215FB8B3__INCLUDED_)