1 /* $Id: MainFrm.h,v 5.0 2001/04/07 20:00:59 dik Exp $ 2 * 3 * XPilot, a multiplayer gravity war game. Copyright (C) 1991-2001 by 4 * 5 * Bj�rn Stabell <bjoern@xpilot.org> 6 * Ken Ronny Schouten <ken@xpilot.org> 7 * Bert Gijsbers <bert@xpilot.org> 8 * Dick Balaska <dick@xpilot.org> 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 23 */ 24 25 // MainFrm.h : interface of the CMainFrame class 26 // 27 ///////////////////////////////////////////////////////////////////////////// 28 29 class CMainFrame : public CFrameWnd 30 { 31 protected: // create from serialization only 32 CMainFrame(); 33 DECLARE_DYNCREATE(CMainFrame) 34 35 // Attributes 36 public: 37 38 // Operations 39 public: 40 41 // Overrides 42 // ClassWizard generated virtual function overrides 43 //{{AFX_VIRTUAL(CMainFrame) 44 public: 45 virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 46 virtual BOOL PreTranslateMessage(MSG* pMsg); 47 //}}AFX_VIRTUAL 48 virtual void OnPaletteChanged(CWnd *pFocus); 49 virtual BOOL OnQueryNewPalette(); 50 51 // Implementation 52 public: 53 virtual ~CMainFrame(); 54 #ifdef _DEBUG 55 virtual void AssertValid() const; 56 virtual void Dump(CDumpContext& dc) const; 57 #endif 58 59 protected: // control bar embedded members 60 CStatusBar m_wndStatusBar; 61 CToolBar m_wndToolBar; 62 63 // Generated message map functions 64 protected: 65 //{{AFX_MSG(CMainFrame) 66 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 67 // NOTE - the ClassWizard will add and remove member functions here. 68 // DO NOT EDIT what you see in these blocks of generated code! 69 //}}AFX_MSG 70 DECLARE_MESSAGE_MAP() 71 }; 72 73 ///////////////////////////////////////////////////////////////////////////// 74