DemoDoc.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // DemoDoc.h : interface of the CDemoDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_DEMODOC_H__66A953A4_FE51_490B_86C6_03EDE281AD64__INCLUDED_)
  5. #define AFX_DEMODOC_H__66A953A4_FE51_490B_86C6_03EDE281AD64__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CDemoDoc : public CDocument
  10. {
  11. protected: // create from serialization only
  12. CDemoDoc();
  13. DECLARE_DYNCREATE(CDemoDoc)
  14. // Attributes
  15. public:
  16. // Operations
  17. public:
  18. // Overrides
  19. // ClassWizard generated virtual function overrides
  20. //{{AFX_VIRTUAL(CDemoDoc)
  21. public:
  22. virtual BOOL OnNewDocument();
  23. virtual void Serialize(CArchive& ar);
  24. //}}AFX_VIRTUAL
  25. // Implementation
  26. public:
  27. virtual ~CDemoDoc();
  28. #ifdef _DEBUG
  29. virtual void AssertValid() const;
  30. virtual void Dump(CDumpContext& dc) const;
  31. #endif
  32. protected:
  33. // Generated message map functions
  34. protected:
  35. //{{AFX_MSG(CDemoDoc)
  36. //}}AFX_MSG
  37. DECLARE_MESSAGE_MAP()
  38. };
  39. /////////////////////////////////////////////////////////////////////////////
  40. //{{AFX_INSERT_LOCATION}}
  41. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  42. #endif // !defined(AFX_DEMODOC_H__66A953A4_FE51_490B_86C6_03EDE281AD64__INCLUDED_)