Cockatrice/libcockatrice_network/libcockatrice/client/local/local_client.h
Lukas Brübach 5414e3e3b5 Move abstract client.
Took 2 minutes
2025-10-08 15:39:50 +02:00

36 lines
746 B
C++

/**
* @file local_client.h
* @ingroup Client
* @brief TODO: Document this.
*/
#ifndef LOCALCLIENT_H
#define LOCALCLIENT_H
#include "../abstract/abstract_client.h"
#include <QLoggingCategory>
inline Q_LOGGING_CATEGORY(LocalClientLog, "local_client");
class LocalServerInterface;
class LocalClient : public AbstractClient
{
Q_OBJECT
private:
LocalServerInterface *lsi;
public:
LocalClient(LocalServerInterface *_lsi,
const QString &_playerName,
const QString &_clientId,
QObject *parent = nullptr);
~LocalClient() override;
void sendCommandContainer(const CommandContainer &cont) override;
private slots:
void itemFromServer(const ServerMessage &item);
};
#endif