www.pudn.com > 200410111016053551.rar > TCPServerView.h
// TCPServerView.h : interface of the CTCPServerView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_TCPSERVERVIEW_H__73E27326_DD45_11D5_A351_0000E86524DF__INCLUDED_)
#define AFX_TCPSERVERVIEW_H__73E27326_DD45_11D5_A351_0000E86524DF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CTCPServerView : public CEditView
{
protected: // create from serialization only
CTCPServerView();
DECLARE_DYNCREATE(CTCPServerView)
// Attributes
public:
CTCPServerDoc* GetDocument();
// Operations
public:
void WriteString(LPCTSTR lpszMessage);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTCPServerView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CTCPServerView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CTCPServerView)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in TCPServerView.cpp
inline CTCPServerDoc* CTCPServerView::GetDocument()
{ return (CTCPServerDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TCPSERVERVIEW_H__73E27326_DD45_11D5_A351_0000E86524DF__INCLUDED_)