diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2017-04-10 10:23:14 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2017-04-10 10:23:14 +0300 |
commit | 5bfd665783217810a9747f6572310b55c343b6ab (patch) | |
tree | 805c5d825d63307c4a2e84cd80d578b09406e6a2 /src/Net.h | |
parent | 5ede036c7d1c92944447ec9b3022270d3a85315b (diff) |
Net: refactor Ban class to its own set of files.
Diffstat (limited to 'src/Net.h')
-rw-r--r-- | src/Net.h | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -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 |