mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-10 08:21:40 +08:00
synergy.cpp and server.cpp into cmd/synergyd as synergyd.cpp. Moved and renamed related files. Moved remaining source files into lib/.... Modified and added makefiles as appropriate. Result is that library files are under lib with each library in its own directory and program files are under cmd with each command in its own directory.
29 lines
466 B
C++
29 lines
466 B
C++
#ifndef ISOCKETFACTORY_H
|
|
#define ISOCKETFACTORY_H
|
|
|
|
#include "IInterface.h"
|
|
|
|
class IDataSocket;
|
|
class IListenSocket;
|
|
|
|
//! Socket factory
|
|
/*!
|
|
This interface defines the methods common to all factories used to
|
|
create sockets.
|
|
*/
|
|
class ISocketFactory : public IInterface {
|
|
public:
|
|
//! @name accessors
|
|
//@{
|
|
|
|
//! Create data socket
|
|
virtual IDataSocket* create() const = 0;
|
|
|
|
//! Create listen socket
|
|
virtual IListenSocket* createListen() const = 0;
|
|
|
|
//@}
|
|
};
|
|
|
|
#endif
|