mirror of
https://github.com/modelec/tirette.git
synced 2026-01-18 16:57:24 +01:00
17 lines
314 B
C++
17 lines
314 B
C++
#pragma once
|
|
|
|
#include <TCPSocket/TCPClient.hpp>
|
|
#include <TCPSocket/TCPUtils.hpp>
|
|
|
|
class MyClient : public TCPClient {
|
|
|
|
public:
|
|
MyClient(const char* host, int port);
|
|
|
|
void handleMessage(const std::string& message) override;
|
|
|
|
void setTiretteState(bool tiretteState);
|
|
private:
|
|
bool tiretteState;
|
|
};
|