Source code of Windows XP (NT5)
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.

60 lines
1.5 KiB

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_MAINFRM_H__3DF4B6B7_A4D0_4DFE_B19C_EA398731B312__INCLUDED_)
  5. #define AFX_MAINFRM_H__3DF4B6B7_A4D0_4DFE_B19C_EA398731B312__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "wiaeventcallback.h"
  10. class CMainFrame : public CMDIFrameWnd
  11. {
  12. DECLARE_DYNAMIC(CMainFrame)
  13. public:
  14. CMainFrame();
  15. // Attributes
  16. public:
  17. // Operations
  18. public:
  19. void RegisterForEvents();
  20. CWiaEventCallback m_WiaEventCallback;
  21. // Overrides
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(CMainFrame)
  24. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  25. //}}AFX_VIRTUAL
  26. // Implementation
  27. public:
  28. virtual ~CMainFrame();
  29. #ifdef _DEBUG
  30. virtual void AssertValid() const;
  31. virtual void Dump(CDumpContext& dc) const;
  32. #endif
  33. protected: // control bar embedded members
  34. CStatusBar m_wndStatusBar;
  35. CToolBar m_wndToolBar;
  36. // Generated message map functions
  37. protected:
  38. //{{AFX_MSG(CMainFrame)
  39. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  40. // NOTE - the ClassWizard will add and remove member functions here.
  41. // DO NOT EDIT what you see in these blocks of generated code!
  42. //}}AFX_MSG
  43. DECLARE_MESSAGE_MAP()
  44. };
  45. /////////////////////////////////////////////////////////////////////////////
  46. //{{AFX_INSERT_LOCATION}}
  47. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  48. #endif // !defined(AFX_MAINFRM_H__3DF4B6B7_A4D0_4DFE_B19C_EA398731B312__INCLUDED_)