mirror of
https://github.com/modelec/tirette.git
synced 2026-01-18 16:57:24 +01:00
17 lines
303 B
C++
17 lines
303 B
C++
#pragma once
|
|
|
|
#include <Modelec/TCPClient.h>
|
|
#include <Modelec/Utils.h>
|
|
|
|
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;
|
|
};
|