mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
847 B
46 lines
847 B
// WatcherSocket.cpp : implementation file
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
#include "watcher.h"
|
|
#include "WatcherSocket.h"
|
|
|
|
#ifdef _DEBUG
|
|
#define new DEBUG_NEW
|
|
#undef THIS_FILE
|
|
static char THIS_FILE[] = __FILE__;
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// WatcherSocket
|
|
|
|
WatcherSocket::WatcherSocket()
|
|
{
|
|
DocView = NULL;
|
|
Command = NULL;
|
|
}
|
|
|
|
WatcherSocket::~WatcherSocket()
|
|
{
|
|
|
|
CSocket::~CSocket();
|
|
}
|
|
|
|
|
|
// Do not edit the following lines, which are needed by ClassWizard.
|
|
#if 0
|
|
BEGIN_MESSAGE_MAP(WatcherSocket, CSocket)
|
|
//{{AFX_MSG_MAP(WatcherSocket)
|
|
//}}AFX_MSG_MAP
|
|
END_MESSAGE_MAP()
|
|
#endif // 0
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// WatcherSocket member functions
|
|
|
|
void WatcherSocket::SetParentView(CView *view)
|
|
{
|
|
if (DocView) return;
|
|
DocView = view;
|
|
|
|
}
|