home *** CD-ROM | disk | FTP | other *** search
/ Learn 3D Graphics Programming on the PC / Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso / rwwin / rwmfcdoc.h_ / rwmfcdoc.bin
Text File  |  1995-11-14  |  1KB  |  41 lines

  1. // rwmfcdoc.h : interface of the CRwDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CRwDoc:public CDocument
  6. {
  7.     protected:                  // create from serialization only
  8.     CRwDoc();
  9.     DECLARE_DYNCREATE(CRwDoc)
  10.  
  11. // Attributes
  12.     public:
  13.     RwScene * m_scene;
  14.  
  15.     public:
  16.  
  17. // Implementation
  18.     public:
  19.     virtual ~ CRwDoc();
  20.     virtual void Serialize(CArchive & ar);  // overridden for document i/o
  21. #ifdef _DEBUG
  22.     virtual void AssertValid() const;
  23.     virtual void Dump(CDumpContext & dc) const;
  24. #endif
  25.  
  26.       protected:
  27.       virtual BOOL OnNewDocument();
  28.     virtual BOOL OnOpenDocument(const char *pathName);
  29.     virtual void DeleteContents();
  30.  
  31. // Generated message map functions
  32.       protected:
  33.     //{{AFX_MSG(CRwDoc)
  34.     // NOTE - the ClassWizard will add and remove member functions here.
  35.     //    DO NOT EDIT what you see in these blocks of generated code !
  36.     //}}AFX_MSG
  37.       DECLARE_MESSAGE_MAP()
  38. };
  39.  
  40. /////////////////////////////////////////////////////////////////////////////
  41.