* 1/3 Add .clang-format file and travis compilation check * 2/3 Run clang-format * 3/3 Fix compilation problems due to include reordering * 3bis/3 AfterControlStatement: false
30 lines
667 B
C++
30 lines
667 B
C++
#ifndef LOCALSERVERINTERFACE_H
|
|
#define LOCALSERVERINTERFACE_H
|
|
|
|
#include "server_protocolhandler.h"
|
|
|
|
class LocalServer;
|
|
|
|
class LocalServerInterface : public Server_ProtocolHandler
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
LocalServerInterface(LocalServer *_server, Server_DatabaseInterface *_databaseInterface);
|
|
~LocalServerInterface();
|
|
|
|
QString getAddress() const
|
|
{
|
|
return QString();
|
|
}
|
|
QString getConnectionType() const
|
|
{
|
|
return "local";
|
|
};
|
|
void transmitProtocolItem(const ServerMessage &item);
|
|
signals:
|
|
void itemToClient(const ServerMessage &item);
|
|
public slots:
|
|
void itemFromClient(const CommandContainer &item);
|
|
};
|
|
|
|
#endif
|