* add a bunch of parents to dialogs works on #3651 * use game as parent instead * add more parents * fix create token dialog modality * add parent to game information window * replace a bunch of nullptrs with the magic of sed * add parent to tip of the day and counters * reorder game ptr * set parent for life counter * clangify
26 lines
543 B
C++
26 lines
543 B
C++
#ifndef LOCALCLIENT_H
|
|
#define LOCALCLIENT_H
|
|
|
|
#include "abstractclient.h"
|
|
|
|
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();
|
|
|
|
void sendCommandContainer(const CommandContainer &cont);
|
|
private slots:
|
|
void itemFromServer(const ServerMessage &item);
|
|
};
|
|
|
|
#endif
|