aboutsummaryrefslogtreecommitdiff
path: root/src/network/serverinfo.h
diff options
context:
space:
mode:
authorLeifa <26681464+TrickyLeifa@users.noreply.github.com>2024-07-09 13:07:30 +0200
committerGitHub <noreply@github.com>2024-07-09 13:07:30 +0200
commitefd2571459924f40718130f7edd28a72a76b12d7 (patch)
tree91751194abb0bfe1306976d676740b43a53dd81b /src/network/serverinfo.h
parent662d4781d2653e02b9f3727a9299ded8c7b1eaa2 (diff)
Remove TCP entry point (#1007)
* Remove TCP entry point Resolve #987 * Remove TCP entry point * Servers that do not support WebSocket will be marked as `Legacy` * Removal of TCP connection from the master will follow later. * Tweaked error message
Diffstat (limited to 'src/network/serverinfo.h')
-rw-r--r--src/network/serverinfo.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/network/serverinfo.h b/src/network/serverinfo.h
new file mode 100644
index 00000000..1f13e3e6
--- /dev/null
+++ b/src/network/serverinfo.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include <QString>
+
+class ServerInfo
+{
+public:
+ QString name;
+ QString description;
+ QString address;
+ quint16 port = 0;
+ bool legacy = false;
+
+ QString toString() const;
+};