EventLog.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #if !defined(AFX_EVENTLOG_H__00C835EA_70BD_4DA9_97D7_90315F586817__INCLUDED_)
  2. #define AFX_EVENTLOG_H__00C835EA_70BD_4DA9_97D7_90315F586817__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // EventLog.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CEventLog dialog
  10. class CEventLog : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CEventLog(CWnd* pParent = NULL); // standard constructor
  15. BOOL m_bSave;
  16. UINT m_nTimer;
  17. void F_SaveEventFile(CString csFileName);
  18. void F_InitList();
  19. void AddEvent(CString csEvent);
  20. // Dialog Data
  21. //{{AFX_DATA(CEventLog)
  22. enum { IDD = IDD_EVENTLOG };
  23. CListCtrl m_list;
  24. //}}AFX_DATA
  25. // Overrides
  26. // ClassWizard generated virtual function overrides
  27. //{{AFX_VIRTUAL(CEventLog)
  28. protected:
  29. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  30. //}}AFX_VIRTUAL
  31. // Implementation
  32. protected:
  33. // Generated message map functions
  34. //{{AFX_MSG(CEventLog)
  35. afx_msg void OnButtonsave();
  36. virtual BOOL OnInitDialog();
  37. afx_msg void OnExit();
  38. afx_msg void OnCancel();
  39. afx_msg void OnTimer(UINT nIDEvent);
  40. //}}AFX_MSG
  41. DECLARE_MESSAGE_MAP()
  42. };
  43. //{{AFX_INSERT_LOCATION}}
  44. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  45. #endif // !defined(AFX_EVENTLOG_H__00C835EA_70BD_4DA9_97D7_90315F586817__INCLUDED_)