home *** CD-ROM | disk | FTP | other *** search
/ VRML Tools for 3D Cyberspace / VRML_Tools_For_3D_Cyberspace.iso / amber / demos / framed / mfc20 / framedoc.h < prev    next >
C/C++ Source or Header  |  1996-07-01  |  1KB  |  48 lines

  1. // framedoc.h : interface of the CFramedDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CFramedDoc : public CDocument
  6. {
  7. protected: // create from serialization only
  8.     CFramedDoc();
  9.     DECLARE_DYNCREATE(CFramedDoc)
  10.  
  11. // Attributes
  12. public:
  13.  
  14. // Operations
  15. public:
  16.  
  17. // Overrides
  18.     // ClassWizard generated virtual function overrides
  19.     //{{AFX_VIRTUAL(CFramedDoc)
  20.     public:
  21.     virtual BOOL OnNewDocument();
  22.     virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
  23.     //}}AFX_VIRTUAL
  24.  
  25. // Implementation
  26. public:
  27.     virtual ~CFramedDoc();
  28.     virtual void Serialize(CArchive& ar);   // overridden for document i/o
  29. #ifdef _DEBUG
  30.     virtual void AssertValid() const;
  31.     virtual void Dump(CDumpContext& dc) const;
  32. #endif
  33.  
  34. protected:
  35.  
  36. // Generated message map functions
  37. protected:
  38.     //{{AFX_MSG(CFramedDoc)
  39.     afx_msg void OnFileSave();
  40.     afx_msg void OnUpdateFileSave(CCmdUI* pCmdUI);
  41.     afx_msg void OnFileSaveAs();
  42.     afx_msg void OnUpdateFileSaveAs(CCmdUI* pCmdUI);
  43.     //}}AFX_MSG
  44.     DECLARE_MESSAGE_MAP()
  45. };
  46.  
  47. /////////////////////////////////////////////////////////////////////////////
  48.