summaryrefslogtreecommitdiffstats
path: root/src/crsm.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crsm.hpp')
-rw-r--r--src/crsm.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/crsm.hpp b/src/crsm.hpp
index 7c3c34f..18a3b7c 100644
--- a/src/crsm.hpp
+++ b/src/crsm.hpp
@@ -17,6 +17,7 @@
#include <QSignalMapper>
#include <QTcpServer>
#include <QTcpSocket>
+#include <QTimer>
#include "CmdFunctionRef.hpp"
#include "ProcessManager.hpp"
@@ -136,6 +137,7 @@ private slots:
void updateNextAutoScens();
void reconnectIrc();
+ void enableAutoHosting();
private:
CRSMConfig Config;
@@ -221,8 +223,10 @@ private:
ProcessManager* processManager = nullptr;
QTcpServer managementServer;
QMap<QTcpSocket*, ManagementConnection> managementConnections;
+ QTimer gameRegisterFailTimer;
bool ok = false;
+ bool hostingIsErrorDeactivated = false;
void startScen(const ScenarioSettings& scen, QStringList);
void readConfig();
@@ -333,6 +337,7 @@ private:
CMD_FUNCTION(ircWatch);
CMD_FUNCTION(packsList);
+ CMD_FUNCTION(packsDirectory);
CMD_FUNCTION(packsVersionsAdd);
CMD_FUNCTION(packsVersionsDelete);
CMD_FUNCTION(packsVersionsDefault);