Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
local_client.h
Go to the documentation of this file.
1
6
7#ifndef LOCALCLIENT_H
8#define LOCALCLIENT_H
9
11
12#include <QLoggingCategory>
13
14inline Q_LOGGING_CATEGORY(LocalClientLog, "local_client");
15
17
19{
20 Q_OBJECT
21private:
23
24public:
26 const QString &_playerName,
27 const QString &_clientId,
28 QObject *parent = nullptr);
29 ~LocalClient() override;
30
31 void sendCommandContainer(const CommandContainer &cont) override;
32private slots:
33 void itemFromServer(const ServerMessage &item);
34};
35
36#endif
TODO: Document this.
AbstractClient(QObject *parent=nullptr)
Definition abstract_client.cpp:23
~LocalClient() override
Definition local_client.cpp:28
void itemFromServer(const ServerMessage &item)
Definition local_client.cpp:39
LocalClient(LocalServerInterface *_lsi, const QString &_playerName, const QString &_clientId, QObject *parent=nullptr)
Definition local_client.cpp:8
LocalServerInterface * lsi
Definition local_client.h:22
void sendCommandContainer(const CommandContainer &cont) override
Definition local_client.cpp:32
Definition local_server_interface.h:15
Q_LOGGING_CATEGORY(LocalClientLog, "local_client")