www.pudn.com > Visual C++课程设计案例精编--画图1 .rar > PainterDoc.h


// PainterDoc.h : interface of the CPainterDoc class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_PAINTERDOC_H__8316A57F_527F_11D3_860D_9D4F82E55944__INCLUDED_) 
#define AFX_PAINTERDOC_H__8316A57F_527F_11D3_860D_9D4F82E55944__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CPainterDoc : public CDocument 
{ 
protected: // create from serialization only 
	CPainterDoc(); 
	DECLARE_DYNCREATE(CPainterDoc) 
 
// Attributes 
public: 
	CPtrList RecordList;//图元记录链表 
	CPtrArray RecordCopy;//存放被拷贝图元的数组 
 
 
// Operations 
public: 
 
	// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CPainterDoc) 
	public: 
	virtual BOOL OnNewDocument(); 
	virtual void Serialize(CArchive& ar); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CPainterDoc(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CPainterDoc) 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_PAINTERDOC_H__8316A57F_527F_11D3_860D_9D4F82E55944__INCLUDED_)