From 5bfd665783217810a9747f6572310b55c343b6ab Mon Sep 17 00:00:00 2001 From: Mikkel Krautz Date: Mon, 10 Apr 2017 09:23:14 +0200 Subject: Net: refactor Ban class to its own set of files. --- src/Net.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/Net.h') diff --git a/src/Net.h b/src/Net.h index 8fea5a9bd..bfc2ec9c4 100644 --- a/src/Net.h +++ b/src/Net.h @@ -16,21 +16,4 @@ #define DEFAULT_MUMBLE_PORT 64738 #endif -struct Ban { - HostAddress haAddress; - int iMask; - QString qsUsername; - QString qsHash; - QString qsReason; - QDateTime qdtStart; - unsigned int iDuration; - bool isExpired() const; - bool isValid() const; - bool operator < (const Ban &) const; - bool operator == (const Ban &) const; - QString toString() const; -}; - -quint32 qHash(const Ban &); - #endif -- cgit v1.2.3