home *** CD-ROM | disk | FTP | other *** search
/ Mastering Microsoft Visual C++ 4 (2nd Edition) / VisualC4.ISO / wingreet / wingrdoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-30  |  1.2 KB  |  54 lines

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