mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -07:00
* Sort *every* file into a doxygen group. Took 7 hours 9 minutes Took 18 seconds Took 2 minutes * Lint some ingroup definitions. Took 10 minutes Took 2 seconds * Just include the groups in the Doxyfile in this commit. Took 3 minutes * Update some group comments so they link! Took 14 minutes --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
36 lines
734 B
C++
36 lines
734 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
|