www.pudn.com > ChatSystem_src.zip > SrvrItem.h


// SrvrItem.h : interface of the CChatServerSrvrItem class 
// 
 
#if !defined(AFX_SRVRITEM_H__E8E2AD13_509F_11D6_9693_AF0E159D6826__INCLUDED_) 
#define AFX_SRVRITEM_H__E8E2AD13_509F_11D6_9693_AF0E159D6826__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
class CChatServerSrvrItem : public COleServerItem 
{ 
	DECLARE_DYNAMIC(CChatServerSrvrItem) 
 
// Constructors 
public: 
	CChatServerSrvrItem(CChatServerDoc* pContainerDoc); 
 
// Attributes 
	CChatServerDoc* GetDocument() const 
		{ return (CChatServerDoc*)COleServerItem::GetDocument(); } 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CChatServerSrvrItem) 
	public: 
	virtual BOOL OnDraw(CDC* pDC, CSize& rSize); 
	virtual BOOL OnGetExtent(DVASPECT dwDrawAspect, CSize& rSize); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	~CChatServerSrvrItem(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
	virtual void Serialize(CArchive& ar);   // overridden for document i/o 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_SRVRITEM_H__E8E2AD13_509F_11D6_9693_AF0E159D6826__INCLUDED_)