summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/remoteserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/installer/remoteserver.h')
-rw-r--r--src/libs/installer/remoteserver.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/libs/installer/remoteserver.h b/src/libs/installer/remoteserver.h
index e1158dd68..ca884d9b1 100644
--- a/src/libs/installer/remoteserver.h
+++ b/src/libs/installer/remoteserver.h
@@ -43,6 +43,7 @@
#define REMOTESERVER_H
#include "installer_global.h"
+#include "protocol.h"
#include <QObject>
@@ -61,16 +62,11 @@ class INSTALLER_EXPORT RemoteServer : public QObject
Q_DECLARE_PRIVATE(RemoteServer)
public:
- enum Mode {
- Debug,
- Release
- };
-
explicit RemoteServer(QObject *parent = 0);
~RemoteServer();
void start();
- void init(quint16 port, const QHostAddress &address, Mode mode);
+ void init(quint16 port, const QHostAddress &address, Protocol::Mode mode);
QString authorizationKey() const;
void setAuthorizationKey(const QString &key);