mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-16 07:22:16 -07:00
Move local/remote client and local server files.
Took 32 minutes Took 8 seconds
This commit is contained in:
parent
484e177589
commit
4e7c98829a
47 changed files with 291 additions and 43 deletions
|
|
@ -1,36 +0,0 @@
|
|||
/**
|
||||
* @file local_server_interface.h
|
||||
* @ingroup Server
|
||||
* @brief TODO: Document this.
|
||||
*/
|
||||
|
||||
#ifndef LOCALSERVERINTERFACE_H
|
||||
#define LOCALSERVERINTERFACE_H
|
||||
|
||||
#include <libcockatrice/server/server_protocolhandler.h>
|
||||
|
||||
class LocalServer;
|
||||
|
||||
class LocalServerInterface : public Server_ProtocolHandler
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
LocalServerInterface(LocalServer *_server, Server_DatabaseInterface *_databaseInterface);
|
||||
~LocalServerInterface() override;
|
||||
|
||||
QString getAddress() const override
|
||||
{
|
||||
return QString();
|
||||
}
|
||||
QString getConnectionType() const override
|
||||
{
|
||||
return "local";
|
||||
};
|
||||
void transmitProtocolItem(const ServerMessage &item) override;
|
||||
signals:
|
||||
void itemToClient(const ServerMessage &item);
|
||||
public slots:
|
||||
void itemFromClient(const CommandContainer &item);
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue