23 lines
416 B
C++
23 lines
416 B
C++
#pragma once
|
|
|
|
#include <client/IClientSocket.h>
|
|
#include <td/common/StateMachine.h>
|
|
|
|
namespace td {
|
|
namespace client {
|
|
|
|
class ClientState;
|
|
|
|
class Client : public StateMachine<Client, void, float> {
|
|
private:
|
|
std::shared_ptr<IClientSocket> m_Socket;
|
|
|
|
public:
|
|
Client(const std::shared_ptr<IClientSocket>& a_Socket) : m_Socket(a_Socket) {}
|
|
|
|
friend class ClientState;
|
|
};
|
|
|
|
} // namespace client
|
|
} // namespace td
|