www.pudn.com > PL0_compiler.rar > CntrItem.h
// CntrItem.h : interface of the CPL0CntrItem class
//
#if !defined(AFX_CNTRITEM_H__6E3697FF_49A3_42C0_8BEC_4D27C4315034__INCLUDED_)
#define AFX_CNTRITEM_H__6E3697FF_49A3_42C0_8BEC_4D27C4315034__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CPL0Doc;
class CPL0View;
class CPL0CntrItem : public CRichEditCntrItem
{
DECLARE_SERIAL(CPL0CntrItem)
// Constructors
public:
CPL0CntrItem(REOBJECT* preo = NULL, CPL0Doc* 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:
CPL0Doc* GetDocument()
{ return (CPL0Doc*)CRichEditCntrItem::GetDocument(); }
CPL0View* GetActiveView()
{ return (CPL0View*)CRichEditCntrItem::GetActiveView(); }
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPL0CntrItem)
public:
protected:
//}}AFX_VIRTUAL
// Implementation
public:
~CPL0CntrItem();
#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__6E3697FF_49A3_42C0_8BEC_4D27C4315034__INCLUDED_)