home *** CD-ROM | disk | FTP | other *** search
/ Media Share 13 / mediashare_13.zip / mediashare_13 / ZIPPED / PROGRAM / WTJ9403.ZIP / OTEXT / OTEXTDOC.H < prev    next >
C/C++ Source or Header  |  1994-01-01  |  1KB  |  50 lines

  1. // otextdoc.h : interface of the COTextDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class COTextSrvrItem;
  6.  
  7. class COTextDoc : public COleServerDoc
  8. {
  9. protected: // create from serialization only
  10.     COTextDoc();
  11.     DECLARE_DYNCREATE(COTextDoc)
  12.  
  13. // Attributes
  14. public:
  15.     COTextSrvrItem* GetEmbeddedItem()
  16.         { return (COTextSrvrItem*)COleServerDoc::GetEmbeddedItem(); }
  17. // Operations
  18. public:
  19.  
  20. // Implementation
  21. public:
  22.     virtual ~COTextDoc();
  23.     virtual void Serialize(CArchive& ar);   // overridden for document i/o
  24.     virtual COleServerItem* OnGetEmbeddedItem();
  25. #ifdef _DEBUG
  26.     virtual void AssertValid() const;
  27.     virtual void Dump(CDumpContext& dc) const;
  28. #endif
  29.  
  30. protected:
  31.     virtual BOOL OnNewDocument();
  32.  
  33. // Generated message map functions
  34. protected:
  35.     //{{AFX_MSG(COTextDoc)
  36.         // NOTE - the ClassWizard will add and remove member functions here.
  37.         //    DO NOT EDIT what you see in these blocks of generated code !
  38.     //}}AFX_MSG
  39.     DECLARE_MESSAGE_MAP()
  40.  
  41.     // Generated OLE dispatch map functions
  42.     //{{AFX_DISPATCH(COTextDoc)
  43.         // NOTE - the ClassWizard will add and remove member functions here.
  44.         //    DO NOT EDIT what you see in these blocks of generated code !
  45.     //}}AFX_DISPATCH
  46.     DECLARE_DISPATCH_MAP()
  47. };
  48.  
  49. /////////////////////////////////////////////////////////////////////////////
  50.