www.pudn.com > CurveEditor.rar > CurveEditorDoc.h
// CurveEditorDoc.h : interface of the CCurveEditorDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CURVEEDITORDOC_H__C64CACC3_8B89_11D3_B0A8_0000B436C984__INCLUDED_)
#define AFX_CURVEEDITORDOC_H__C64CACC3_8B89_11D3_B0A8_0000B436C984__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "..\aglib.h"
#include "ObjectsTree.h"
class CCurveEditorDoc : public CDocument
{
protected: // create from serialization only
CCurveEditorDoc();
DECLARE_DYNCREATE(CCurveEditorDoc)
// Attributes
public:
CList m_alstCtrlPoint[2];
HWND m_hWndObjects;
int m_nCurrentCurve;
CObjectsTree *m_pObjectsTreeView;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCurveEditorDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
//}}AFX_VIRTUAL
// Implementation
public:
HWND GetMainViewHwnd();
void SetMainViewHwnd(HWND hWnd);
void SetObjectsTreeView(CObjectsTree *pObjectsTree);
virtual ~CCurveEditorDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
HWND m_hWndCurve;
// Generated message map functions
protected:
//{{AFX_MSG(CCurveEditorDoc)
// 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_CURVEEDITORDOC_H__C64CACC3_8B89_11D3_B0A8_0000B436C984__INCLUDED_)