Consolidate protocol messages in one namespace
authorManuel Nickschas <sputnick@quassel-irc.org>
Sat, 26 Jan 2013 18:57:34 +0000 (19:57 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sat, 26 Jan 2013 18:57:34 +0000 (19:57 +0100)
commita4568e36edde5b86feeaae740a396f1bcaca1967
tree370fa8af2ad6b959324b8648af1d1d2f6465d554
parent0e1b154f362e13c2c9009f842e3fd6d8e7c346fc
Consolidate protocol messages in one namespace

Rather than defining the various messages as nested classes in SignalProxy,
RemoteConnection and in the future even more locations, have them defined
within a single namespace (and file, protocol.h).
This should make it much easier to see at a glance what kind of messages
Quassel sends, and thus help with protocol implementations.
src/common/CMakeLists.txt
src/common/internalconnection.cpp
src/common/internalconnection.h
src/common/protocol.h [new file with mode: 0644]
src/common/protocols/legacy/legacyconnection.cpp
src/common/protocols/legacy/legacyconnection.h
src/common/remoteconnection.cpp
src/common/remoteconnection.h
src/common/signalproxy.cpp
src/common/signalproxy.h