mirror of
https://github.com/modelec/tirette.git
synced 2026-03-18 21:50:31 +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;
|
|
};
|