diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2007-07-06 17:37:38 +0400 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2007-07-06 17:37:38 +0400 |
commit | 36de5ea423487d743f46063d8c21194e3e169ce4 (patch) | |
tree | 73f00b16e1359e679edbd3e77f2a22da11675d6c /src/Message.h | |
parent | 4ab28138bd8920f9bc985dc8ba10dd6d44e59ae6 (diff) |
Add rejection enum
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@551 05730e5d-ab1b-0410-a4ac-84af385074fa
Diffstat (limited to 'src/Message.h')
-rw-r--r-- | src/Message.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Message.h b/src/Message.h index b91a1b1a3..cc100a243 100644 --- a/src/Message.h +++ b/src/Message.h @@ -111,7 +111,9 @@ class MessageServerReject : public Message { void saveStream(PacketDataStream &) const; void restoreStream(PacketDataStream &); public: + enum RejectType { WrongVersion, InvalidUsername, WrongUserPW, WrongServerPW, UsernameInUse, BandwidthExceeded, ServerFull }; QString qsReason; + RejectType rtType; MessageServerReject(); Message::MessageType messageType() const { return ServerReject; }; void process(Connection *); |