summaryrefslogtreecommitdiffstats
path: root/ClientInfo.hpp
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2015-01-01 16:04:07 +0100
committerMarkus Mittendrein <git@maxmitti.tk>2015-01-01 16:04:07 +0100
commita92aea252411f86657081587633a88083a3b14a9 (patch)
tree754abad814d07dc339cb3025dd31faf186e4cfe4 /ClientInfo.hpp
parent529f38bd8878b6b1bea2b5457031ce936aab8d80 (diff)
downloadmanager-a92aea252411f86657081587633a88083a3b14a9.tar.gz
manager-a92aea252411f86657081587633a88083a3b14a9.zip
Massive changes.
Can't remember them.
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;
+ }
+};