home *** CD-ROM | disk | FTP | other *** search
/ Master Visual C++ 1.5 / MASTERVC15.ISO / vcprog / original / appendix / multi / multidoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-11  |  933 b   |  38 lines

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