mirror of
https://github.com/modelec/tirette.git
synced 2026-01-18 16:57:24 +01:00
Omg somethings work
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "MyClient.h"
|
||||
|
||||
MyClient::MyClient(bool* tiretteState, const char* host, int port) : TCPClient(host, port), tiretteState(tiretteState)
|
||||
MyClient::MyClient(const char* host, int port) : TCPClient(host, port), tiretteState(false)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -17,7 +17,7 @@ void MyClient::handleMessage(const std::string& message)
|
||||
}
|
||||
}
|
||||
|
||||
void MyClient::setTiretteState(bool* tiretteState)
|
||||
void MyClient::setTiretteState(bool tiretteState)
|
||||
{
|
||||
this->tiretteState = tiretteState;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user