diff options
author | Stefan Hacker <dd0t@users.sourceforge.net> | 2011-05-13 22:53:18 +0400 |
---|---|---|
committer | Stefan Hacker <dd0t@users.sourceforge.net> | 2011-05-13 22:53:18 +0400 |
commit | ba66c4dcbf00996e2569875e067679ccc48b1fc2 (patch) | |
tree | acbb412114762c9423ac5de2088c5af57612b34e /src | |
parent | c98e3eaf8b881286259dd332b29e4b0eae52bb9a (diff) |
Do not change the order of protobuf message types.
Diffstat (limited to 'src')
-rw-r--r-- | src/Message.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Message.h b/src/Message.h index 9f007c84d..40383576c 100644 --- a/src/Message.h +++ b/src/Message.h @@ -34,6 +34,11 @@ #include "Connection.h" #include "Mumble.pb.h" +/** + Protobuf packet type enumeration for message handler generation. + + Warning: Only append to the end. + */ #define MUMBLE_MH_ALL \ MUMBLE_MH_MSG(Version) \ MUMBLE_MH_MSG(UDPTunnel) \ @@ -52,7 +57,6 @@ MUMBLE_MH_MSG(QueryUsers) \ MUMBLE_MH_MSG(CryptSetup) \ MUMBLE_MH_MSG(ContextActionAdd) \ - MUMBLE_MH_MSG(ContextActionRemove) \ MUMBLE_MH_MSG(ContextAction) \ MUMBLE_MH_MSG(UserList) \ MUMBLE_MH_MSG(VoiceTarget) \ @@ -61,7 +65,8 @@ MUMBLE_MH_MSG(UserStats) \ MUMBLE_MH_MSG(RequestBlob) \ MUMBLE_MH_MSG(ServerConfig) \ - MUMBLE_MH_MSG(SuggestConfig) + MUMBLE_MH_MSG(SuggestConfig) \ + MUMBLE_MH_MSG(ContextActionRemove) class MessageHandler { public: |