mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
25 lines
440 B
C++
25 lines
440 B
C++
#ifndef WF_TEST_FAKE_SERVER_HPP
|
|
#define WF_TEST_FAKE_SERVER_HPP
|
|
|
|
#include <libwebsockets.h>
|
|
|
|
namespace webfuse_test
|
|
{
|
|
|
|
class FakeAdapterServer
|
|
{
|
|
FakeAdapterServer(FakeAdapterServer const &) = delete;
|
|
FakeAdapterServer & operator=(FakeAdapterServer const &) = delete;
|
|
public:
|
|
explicit FakeAdapterServer(int port);
|
|
~FakeAdapterServer();
|
|
void waitForConnection();
|
|
private:
|
|
class Private;
|
|
Private * d;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|