Cockatrice/libcockatrice_network/libcockatrice/client/local/local_client.h
Lukas Brübach 4e7c98829a Move local/remote client and local server files.
Took 32 minutes


Took 8 seconds
2025-10-08 15:39:50 +02:00

36 lines
737 B
C++

/**
* @file local_client.h
* @ingroup Client
* @brief TODO: Document this.
*/
#ifndef LOCALCLIENT_H
#define LOCALCLIENT_H
#include "../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