DrawSysDoc.h
资源名称:DrawSys.zip [点击查看]
上传用户:mosfetic
上传日期:2022-06-16
资源大小:4612k
文件大小:2k
源码类别:
GDI/图象编程
开发平台:
Visual C++
- // DrawSysDoc.h : interface of the CDrawSysDoc class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_DRAWSYSDOC_H__D5201CF0_8575_49C6_902B_E183A4A8269B__INCLUDED_)
- #define AFX_DRAWSYSDOC_H__D5201CF0_8575_49C6_902B_E183A4A8269B__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CDrawShape;
- class CDrawSysDoc : public CDocument
- {
- protected: // create from serialization only
- CDrawSysDoc();
- DECLARE_DYNCREATE(CDrawSysDoc)
- // Attributes
- public:
- CObArray m_obArray;
- // Operations
- public:
- void AddShape(CDrawShape* pDrawShape);
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDrawSysDoc)
- public:
- virtual BOOL OnNewDocument();
- virtual void Serialize(CArchive& ar);
- virtual void DeleteContents();
- virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CDrawSysDoc();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CDrawSysDoc)
- // NOTE - the ClassWizard will add and remove member functions here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DRAWSYSDOC_H__D5201CF0_8575_49C6_902B_E183A4A8269B__INCLUDED_)