DrawCoinDoc.h
Upload User: zbkailong
Upload Date: 2022-05-22
Package Size: 1896k
Code Size: 1k
Category:

Graph Drawing

Development Platform:

Visual C++

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