00001
00002
00003
00004
00005 #if !defined(AFX_MAINFRM_H__DD4A35C0_1BE9_4DBA_B68D_47E47ADD2650__INCLUDED_)
00006 #define AFX_MAINFRM_H__DD4A35C0_1BE9_4DBA_B68D_47E47ADD2650__INCLUDED_
00007
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011
00012 #include "OpenGLWnd.h"
00013 #include "VisageLinkDoc.h"
00014
00015
00016
00017
00018
00019 class CMainFrame : public CFrameWnd
00020 {
00021
00022 protected:
00023 CMainFrame();
00024 DECLARE_DYNCREATE(CMainFrame)
00025
00026
00027 public:
00028 CVisageLinkDoc* GetDocument();
00029 COpenGLWnd* GetOpenGLWnd();
00030
00031
00032 public:
00033
00034
00035
00036
00037 virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
00038
00039
00040
00041 public:
00042 virtual ~CMainFrame();
00043
00044 #ifdef _DEBUG
00045 virtual void AssertValid() const;
00046 virtual void Dump(CDumpContext& dc) const;
00047 #endif
00048
00049 CStatusBar m_wndStatusBar;
00050 protected:
00051 CToolBar m_wndToolBar;
00052
00053
00054 protected:
00055
00056 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00057
00058 DECLARE_MESSAGE_MAP()
00059 };
00060
00061
00062
00063
00064
00065
00066 #endif // !defined(AFX_MAINFRM_H__DD4A35C0_1BE9_4DBA_B68D_47E47ADD2650__INCLUDED_)