// CntrItem.h : interface of the CMDIProjectCntrItem class
//

#if !defined(AFX_CNTRITEM_H__CBB2C37B_2226_44D3_9FC6_97A0443B1B74__INCLUDED_)
#define AFX_CNTRITEM_H__CBB2C37B_2226_44D3_9FC6_97A0443B1B74__INCLUDED_

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

class CMDIProjectDoc;
class CMDIProjectView;

class CMDIProjectCntrItem : public CRichEditCntrItem
{
	DECLARE_SERIAL(CMDIProjectCntrItem)

// Constructors
public:
	CMDIProjectCntrItem(REOBJECT* preo = NULL, CMDIProjectDoc* pContainer = NULL);
		// Note: pContainer is allowed to be NULL to enable IMPLEMENT_SERIALIZE.
		//  IMPLEMENT_SERIALIZE requires the class have a constructor with
		//  zero arguments.  Normally, OLE items are constructed with a
		//  non-NULL document pointer.

// Attributes
public:
	CMDIProjectDoc* GetDocument()
		{ return (CMDIProjectDoc*)CRichEditCntrItem::GetDocument(); }
	CMDIProjectView* GetActiveView()
		{ return (CMDIProjectView*)CRichEditCntrItem::GetActiveView(); }

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMDIProjectCntrItem)
	public:
	protected:
	//}}AFX_VIRTUAL

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

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

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

#endif // !defined(AFX_CNTRITEM_H__CBB2C37B_2226_44D3_9FC6_97A0443B1B74__INCLUDED_)
