home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / labs / c07 / lab02 / ex01 / diffdoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  1.1 KB  |  46 lines

  1. // diffDoc.h : interface of the CDiffDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CDiffDoc : public CRichEditDoc
  6. {
  7. protected: // create from serialization only
  8.     CDiffDoc();
  9.     DECLARE_DYNCREATE(CDiffDoc)
  10.  
  11. // Attributes
  12. public:
  13.  
  14. // Operations
  15. public:
  16.  
  17. // Overrides
  18.     // ClassWizard generated virtual function overrides
  19.     //{{AFX_VIRTUAL(CDiffDoc)
  20.     public:
  21.     virtual BOOL OnNewDocument();
  22.     virtual void Serialize(CArchive& ar);
  23.     //}}AFX_VIRTUAL
  24.     virtual CRichEditCntrItem* CreateClientItem(REOBJECT* preo) const;
  25.  
  26. // Implementation
  27. public:
  28.     virtual ~CDiffDoc();
  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(CDiffDoc)
  39.         // NOTE - the ClassWizard will add and remove member functions here.
  40.         //    DO NOT EDIT what you see in these blocks of generated code !
  41.     //}}AFX_MSG
  42.     DECLARE_MESSAGE_MAP()
  43. };
  44.  
  45. /////////////////////////////////////////////////////////////////////////////
  46.