www.pudn.com > linkfive.rar > LinkFDoc.h


// LinkFDoc.h : interface of the CLinkFDoc class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_LINKFDOC_H__0E86C200_08FF_4BA9_9957_68BE533AF26E__INCLUDED_) 
#define AFX_LINKFDOC_H__0E86C200_08FF_4BA9_9957_68BE533AF26E__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
#include"LinKCanvas.h" 
 
class CLinkFDoc : public CDocument 
{ 
protected: // create from serialization only 
	CLinkFDoc(); 
	DECLARE_DYNCREATE(CLinkFDoc) 
 
// Attributes 
public: 
	int Board[NUM][NUM]; 
	int Over; 
	int PlayerScore[1020]; 
	int ComputerScore[1020]; 
	int WinPoint; 
	int PlayerTable[NUM][NUM][1020]; 
	int ComputerTable[NUM][NUM][1020]; 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CLinkFDoc) 
	public: 
	virtual BOOL OnNewDocument(); 
	virtual void Serialize(CArchive& ar); 
	virtual BOOL OnOpenDocument(LPCTSTR lpszPathName); 
	virtual void DeleteContents(); 
	virtual void OnCloseDocument(); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CLinkFDoc(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CLinkFDoc) 
		// 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_LINKFDOC_H__0E86C200_08FF_4BA9_9957_68BE533AF26E__INCLUDED_)