1 #ifndef LOCALCLIENT_H 2 #define LOCALCLIENT_H 3 4 #include "abstractclient.h" 5 6 class LocalServerInterface; 7 8 class LocalClient : public AbstractClient 9 { 10 Q_OBJECT 11 private: 12 LocalServerInterface *lsi; 13 14 public: 15 LocalClient(LocalServerInterface *_lsi, 16 const QString &_playerName, 17 const QString &_clientId, 18 QObject *parent = nullptr); 19 ~LocalClient(); 20 21 void sendCommandContainer(const CommandContainer &cont); 22 private slots: 23 void itemFromServer(const ServerMessage &item); 24 }; 25 26 #endif 27