// enroldoc.h : interface of the CEnrollDoc class
//
/////////////////////////////////////////////////////////////////////////////

#define HINT_ADD_COURSE 1
#define HINT_DELETE_COURSE 2

class CUpdateHint : public CObject
{
	DECLARE_DYNAMIC(CUpdateHint);
	CUpdateHint();
	CString m_strCourse;
};

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

// Attributes
protected:
	CDatabase m_database;
public:
	CSectionSet m_sectionSet;
	CCourseSet m_courseSet; // for combobox in CSectionForm
	CCourseSet m_courseSetForForm; // for CCourseForm

// Operations
public:
	CDatabase* GetDatabase();

// Implementation
public:
	virtual ~CEnrollDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
	virtual BOOL OnNewDocument();

protected:
	CDatabase* m_pDatabase;

// Generated message map functions
protected:
	//{{AFX_MSG(CEnrollDoc)
		// 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()
};

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