core/vgui/impl/mfc/vgui_mfc_doc.h
Go to the documentation of this file.
00001 // This is core/vgui/impl/mfc/vgui_mfc_doc.h
00002 #ifndef AFX_VGUI_MFC_DOC_H__AB1D93B0_8FC7_4E71_ABD0_FA4AA666D5CD__INCLUDED_
00003 #define AFX_VGUI_MFC_DOC_H__AB1D93B0_8FC7_4E71_ABD0_FA4AA666D5CD__INCLUDED_
00004 //:
00005 // \file
00006 // \brief   Defines a main application document
00007 // \author  Marko Bacic, Oxford RRG
00008 // \date    27 July 2000
00009 //
00010 // \verbatim
00011 //  Modifications
00012 //   Marko Bacic   27-JUL-2000   Initial version.
00013 // \endverbatim
00014 
00015 #if _MSC_VER > 1000
00016 #pragma once
00017 #endif // _MSC_VER > 1000
00018 
00019 class vgui_tableau;
00020 
00021 //: Defines a main application document.
00022 class vgui_mfc_doc : public CDocument
00023 {
00024  protected:
00025   //: we store our main tableau in the document - the adaptor(s) view this tableau.
00026   vgui_tableau* tableau;
00027 
00028  protected: // create from serialization only
00029   vgui_mfc_doc();
00030   DECLARE_DYNCREATE(vgui_mfc_doc)
00031 
00032 // Operations
00033  public:
00034   vgui_tableau* get_tableau() { return tableau; }
00035 // Overrides
00036   // ClassWizard generated virtual function overrides
00037   //{{AFX_VIRTUAL(vgui_mfc_doc)
00038  public:
00039   virtual void Serialize(CArchive& ar);
00040   //}}AFX_VIRTUAL
00041 
00042 // Implementation
00043  public:
00044   virtual ~vgui_mfc_doc();
00045 #ifdef _DEBUG
00046   virtual void AssertValid() const;
00047   virtual void Dump(CDumpContext& dc) const;
00048 #endif
00049 };
00050 
00051 /////////////////////////////////////////////////////////////////////////////
00052 
00053 //{{AFX_INSERT_LOCATION}}
00054 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00055 
00056 #endif // AFX_VGUI_MFC_DOC_H__AB1D93B0_8FC7_4E71_ABD0_FA4AA666D5CD__INCLUDED_