summaryrefslogtreecommitdiffstats
path: root/ClientInfo.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ClientInfo.hpp')
-rw-r--r--ClientInfo.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/ClientInfo.hpp b/ClientInfo.hpp
new file mode 100644
index 0000000..61e1b34
--- /dev/null
+++ b/ClientInfo.hpp
@@ -0,0 +1,15 @@
+#pragma once
+
+#include <QString>
+
+struct ClientInfo
+{
+ int CUID = 0;
+ QString nick = "";
+ QString pcName = "";
+ bool activated = false;
+ bool operator==(const ClientInfo& other)
+ {
+ return other.nick == nick && other.pcName == pcName && other.CUID == CUID;
+ }
+};