home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pc3270sa.zip / apps / winaping / mainfrm.h < prev    next >
Text File  |  2002-02-28  |  2KB  |  61 lines

  1. // mainfrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CWinapingDoc;
  6. class CGoView;
  7. class Aping;
  8.  
  9. class CMainFrame : public CFrameWnd
  10. {
  11. protected: // create from serialization only
  12.         CMainFrame();
  13.         DECLARE_DYNCREATE(CMainFrame)
  14.  
  15. // Attributes
  16. public:
  17.  
  18. // Operations
  19. public:
  20.         BOOL          m_running;       // used to do CmdUI
  21.         CWinapingDoc* pDoc;
  22.         CGoView*      pView;
  23.         Aping*        pRunningThread;
  24.  
  25. // Overrides
  26.         // ClassWizard generated virtual function overrides
  27.         //{{AFX_VIRTUAL(CMainFrame)
  28.         protected:
  29.         virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  30.         //}}AFX_VIRTUAL
  31.  
  32. // Implementation
  33. public:
  34.         virtual ~CMainFrame();
  35. #ifdef _DEBUG
  36.         virtual void AssertValid() const;
  37.         virtual void Dump(CDumpContext& dc) const;
  38. #endif
  39.  
  40. protected:  // control bar embedded members
  41.         CStatusBar  m_wndStatusBar;
  42.         CToolBar    m_wndToolBar;
  43.         CTime       m_start_time;
  44.  
  45. // Generated message map functions
  46. protected:
  47.         //{{AFX_MSG(CMainFrame)
  48.         afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  49.         afx_msg LONG OnApingDone(UINT, LONG);           // user msg handler
  50.         afx_msg void OnActionGo();
  51.         afx_msg void OnActionSetup();
  52.         afx_msg void OnActionStop();
  53.         afx_msg void OnUpdateActionGo(CCmdUI* pCmdUI);
  54.         afx_msg void OnUpdateActionStop(CCmdUI* pCmdUI);
  55.         afx_msg void OnUpdateActionSetup(CCmdUI* pCmdUI);
  56.         //}}AFX_MSG
  57.         DECLARE_MESSAGE_MAP()
  58. };
  59.  
  60. /////////////////////////////////////////////////////////////////////////////
  61.