nimdadlg.h
上传用户:leon2013
上传日期:2007-01-10
资源大小:186k
文件大小:2k
源码类别:

杀毒

开发平台:

Visual C++

  1. // nimdaDlg.h : header file
  2. //
  3. #if !defined(AFX_NIMDADLG_H__5991E4AE_C09D_4D18_91C1_1F77215FB8B3__INCLUDED_)
  4. #define AFX_NIMDADLG_H__5991E4AE_C09D_4D18_91C1_1F77215FB8B3__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. #include "VirusCleaner.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CNimdaDlg dialog
  11. class CNimdaDlg : public CDialog, public CVirusCleaner
  12. {
  13. // Construction
  14. public:
  15. CNimdaDlg(CWnd* pParent = NULL, bool auto_scan=false); // standard constructor
  16. // Dialog Data
  17. //{{AFX_DATA(CNimdaDlg)
  18. enum { IDD = IDD_NIMDA_DIALOG };
  19. CStatic bytesscanned;
  20. CButton btnViewLog;
  21. CButton btnPause;
  22. CEdit root;
  23. CButton btnOk;
  24. CListCtrl output;
  25. CStatic skipped;
  26. CStatic scanrate;
  27. CStatic errors;
  28. CStatic deleted;
  29. CStatic velocity;
  30. CStatic time;
  31. CStatic scanned;
  32. CStatic infected;
  33. CStatic file;
  34. CStatic directories;
  35. CStatic cleaned;
  36. //}}AFX_DATA
  37. // ClassWizard generated virtual function overrides
  38. //{{AFX_VIRTUAL(CNimdaDlg)
  39. protected:
  40. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  41. //}}AFX_VIRTUAL
  42. // Implementation
  43. protected:
  44. HICON m_hIcon;
  45. bool m_autoscan;
  46. void UpdateStatistics();
  47. virtual void OnInfected(LPCTSTR filename, VirusKiller::SCANRESULT result);
  48. // Generated message map functions
  49. //{{AFX_MSG(CNimdaDlg)
  50. virtual BOOL OnInitDialog();
  51. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  52. afx_msg void OnPaint();
  53. afx_msg HCURSOR OnQueryDragIcon();
  54. afx_msg void OnTimer(UINT nIDEvent);
  55. virtual void OnOK();
  56. afx_msg void OnPause();
  57. afx_msg void OnViewlog();
  58. //}}AFX_MSG
  59. DECLARE_MESSAGE_MAP()
  60. };
  61. //{{AFX_INSERT_LOCATION}}
  62. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  63. #endif // !defined(AFX_NIMDADLG_H__5991E4AE_C09D_4D18_91C1_1F77215FB8B3__INCLUDED_)