AnyServerDoc.h
资源名称:anywhere.zip [点击查看]
上传用户:zhenhuadz
上传日期:2007-01-07
资源大小:1511k
文件大小:2k
源码类别:
远程控制编程
开发平台:
Visual C++
- // AnyServerDoc.h : interface of the CAnyServerDoc class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_ANYSERVERDOC_H__206A9D8A_F69E_11D3_8A76_00E04CDD95C8__INCLUDED_)
- #define AFX_ANYSERVERDOC_H__206A9D8A_F69E_11D3_8A76_00E04CDD95C8__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CChatLsnSock;
- class CChatSock;
- class CAnyServerDoc : public CDocument
- {
- protected: // create from serialization only
- CAnyServerDoc();
- DECLARE_DYNCREATE(CAnyServerDoc)
- // Attributes
- public:
- CChatLsnSock *g_pchatListen;
- CChatSock *m_pConnect;
- CString m_Client;
- CString m_Server;
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CAnyServerDoc)
- public:
- virtual BOOL OnNewDocument();
- virtual void Serialize(CArchive& ar);
- protected:
- virtual BOOL SaveModified();
- //}}AFX_VIRTUAL
- // Implementation
- public:
- void ProcessPendingRead(CChatSock* pSocket);
- void ProcessPendingAccept();
- virtual ~CAnyServerDoc();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CAnyServerDoc)
- // NOTE - the ClassWizard will add and remove member functions here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_ANYSERVERDOC_H__206A9D8A_F69E_11D3_8A76_00E04CDD95C8__INCLUDED_)