From a92aea252411f86657081587633a88083a3b14a9 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Thu, 1 Jan 2015 16:04:07 +0100 Subject: Massive changes. Can't remember them. --- ClientInfo.hpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ClientInfo.hpp (limited to 'ClientInfo.hpp') 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 + +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; + } +}; -- cgit v1.2.3-54-g00ecf