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

#if !defined(AFX_CNTRITEM_H__515B7330_1CF5_11D4_AB58_00400553A81B__INCLUDED_)
#define AFX_CNTRITEM_H__515B7330_1CF5_11D4_AB58_00400553A81B__INCLUDED_

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

class CGUIConsDoc;
class CGUIConsView;

class CGUIConsCntrItem : public CRichEditCntrItem
{
	DECLARE_SERIAL(CGUIConsCntrItem)

// Constructors
public:
	CGUIConsCntrItem(REOBJECT* preo = NULL, CGUIConsDoc* 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:
	CGUIConsDoc* GetDocument()
		{ return (CGUIConsDoc*)CRichEditCntrItem::GetDocument(); }
	CGUIConsView* GetActiveView()
		{ return (CGUIConsView*)CRichEditCntrItem::GetActiveView(); }

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

// Implementation
public:
	~CGUIConsCntrItem();
#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__515B7330_1CF5_11D4_AB58_00400553A81B__INCLUDED_)
