Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/Net.h
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2017-04-10 10:23:14 +0300
committerMikkel Krautz <mikkel@krautz.dk>2017-04-10 10:23:14 +0300
commit5bfd665783217810a9747f6572310b55c343b6ab (patch)
tree805c5d825d63307c4a2e84cd80d578b09406e6a2 /src/Net.h
parent5ede036c7d1c92944447ec9b3022270d3a85315b (diff)
Net: refactor Ban class to its own set of files.
Diffstat (limited to 'src/Net.h')
-rw-r--r--src/Net.h17
1 files changed, 0 insertions, 17 deletions
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