// Exp10Doc.h : interface of the CExp10Doc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_EXP10DOC_H__B651D73A_C544_43B2_80B7_8149922FC9AC__INCLUDED_)
#define AFX_EXP10DOC_H__B651D73A_C544_43B2_80B7_8149922FC9AC__INCLUDED_

// -- Exp10 (start)
#include "Connection.h"
#include <list>
using namespace std;
// -- Exp10 (end)

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CExp10Doc : public CDocument
{
protected: // create from serialization only
	CExp10Doc();
	DECLARE_DYNCREATE(CExp10Doc)

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CExp10Doc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	//}}AFX_VIRTUAL

// Implementation
public:
	void DrawConnections(CDC *pDC);
	list<CConnection*>& GetConnectionList(void);
	int GetConnectionCount(void);
	void AddConnection(CPoint ptFrom, CPoint ptTo);
	virtual ~CExp10Doc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CExp10Doc)
		// 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()
private:
	list<CConnection*> connection_list;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_EXP10DOC_H__B651D73A_C544_43B2_80B7_8149922FC9AC__INCLUDED_)
