home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / MFC_Samples / npp / npdoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  1012 b   |  48 lines

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