1 /* -*- c++ -*- 2 FILE: MainFrm.h 3 RCS REVISION: $Revision: 1.9 $ 4 5 COPYRIGHT: (c) 1999 -- 2003 Melinda Green, Don Hatch, and Jay Berkenbilt - Superliminal Software 6 7 LICENSE: Free to use and modify for non-commercial purposes as long as the 8 following conditions are adhered to: 9 1) Obvious credit for the source of this code and the designs it embodies 10 are clearly made, and 11 2) Ports and derived versions of 4D Magic Cube programs are not distributed 12 without the express written permission of the authors. 13 14 DESCRIPTION: 15 interface of the CMainFrame class 16 */ 17 18 ///////////////////////////////////////////////////////////////////////////// 19 20 class CMainFrame : public CFrameWnd 21 { 22 protected: // create from serialization only 23 CMainFrame(); 24 DECLARE_DYNCREATE(CMainFrame) 25 26 // Attributes 27 public: 28 29 // Operations 30 public: 31 32 // Overrides 33 // ClassWizard generated virtual function overrides 34 //{{AFX_VIRTUAL(CMainFrame) 35 virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 36 //}}AFX_VIRTUAL 37 38 // Implementation 39 public: 40 virtual ~CMainFrame(); 41 #ifdef _DEBUG 42 virtual void AssertValid() const; 43 virtual void Dump(CDumpContext& dc) const; 44 #endif 45 46 protected: // control bar embedded members 47 CStatusBar m_wndStatusBar; 48 CToolBar m_wndToolBar; 49 50 // Generated message map functions 51 protected: 52 //{{AFX_MSG(CMainFrame) 53 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 54 // NOTE - the ClassWizard will add and remove member functions here. 55 // DO NOT EDIT what you see in these blocks of generated code! 56 //}}AFX_MSG 57 DECLARE_MESSAGE_MAP() 58 }; 59 60 ///////////////////////////////////////////////////////////////////////////// 61 62 // Local Variables: 63 // c-basic-offset: 4 64 // c-comment-only-line-offset: 0 65 // c-file-offsets: ((defun-block-intro . +) (block-open . 0) (substatement-open . 0) (statement-cont . +) (statement-case-open . +4) (arglist-intro . +) (arglist-close . +) (inline-open . 0)) 66 // indent-tabs-mode: nil 67 // End: 68