1
1
mirror of https://github.com/debauchee/barrier.git synced 2025-01-05 01:42:27 +03:00
barrier/synergy/CTCPSocketFactory.cpp

28 lines
399 B
C++
Raw Normal View History

2001-10-06 18:13:28 +04:00
#include "CTCPSocketFactory.h"
#include "CTCPSocket.h"
#include "CTCPListenSocket.h"
//
// CTCPSocketFactory
//
CTCPSocketFactory::CTCPSocketFactory()
{
// do nothing
}
CTCPSocketFactory::~CTCPSocketFactory()
{
// do nothing
}
ISocket* CTCPSocketFactory::create() const
2001-10-06 18:13:28 +04:00
{
return new CTCPSocket;
}
IListenSocket* CTCPSocketFactory::createListen() const
2001-10-06 18:13:28 +04:00
{
return new CTCPListenSocket;
}