mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-30 21:39:19 +03:00
6aba3a6f57
being listed and they'd have to be added to every one. just doesn't seem worth the trouble.
22 lines
338 B
C++
22 lines
338 B
C++
#ifndef ISOCKETFACTORY_H
|
|
#define ISOCKETFACTORY_H
|
|
|
|
#include "IInterface.h"
|
|
#include "XSocket.h"
|
|
|
|
class ISocket;
|
|
class IListenSocket;
|
|
|
|
class ISocketFactory : public IInterface {
|
|
public:
|
|
// manipulators
|
|
|
|
// accessors
|
|
|
|
// create sockets
|
|
virtual ISocket* create() const = 0;
|
|
virtual IListenSocket* createListen() const = 0;
|
|
};
|
|
|
|
#endif
|