www.pudn.com > DEM_TDS.rar > DEMDoc.h, change:2007-05-04,size:1494b


// DEMDoc.h : interface of the CDEMDoc class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_DEMDOC_H__47CF1B4A_9FCE_4415_843C_CDDAE14ED35F__INCLUDED_) 
#define AFX_DEMDOC_H__47CF1B4A_9FCE_4415_843C_CDDAE14ED35F__INCLUDED_ 
 
#include "DEMdata.h"	// Added by ClassView 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CDEMDoc : public CDocument 
{ 
protected: // create from serialization only 
	CDEMDoc(); 
	DECLARE_DYNCREATE(CDEMDoc) 
 
// Attributes 
public: 
    void RenderScene(); 
    enum GLDisplayListNames { ArmPart1,ArmPart2}; 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CDEMDoc) 
	public: 
	virtual BOOL OnNewDocument(); 
	virtual void Serialize(CArchive& ar); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CDEMDoc(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CDEMDoc) 
	afx_msg bool OnFileOpen(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
private: 
	bool maploadok; 
	DEMdata demdata; 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DEMDOC_H__47CF1B4A_9FCE_4415_843C_CDDAE14ED35F__INCLUDED_)