Start moving protocol-specific code to protocol.[ch]pp
authorGiel van Schijndel <me@mortis.eu>
Thu, 11 Aug 2011 16:14:53 +0000 (18:14 +0200)
committerGiel van Schijndel <me@mortis.eu>
Fri, 19 Aug 2011 05:24:38 +0000 (07:24 +0200)
commit507fd9d15baac950df494742d67bcbafdaa4752c
treea705b7990df0a9f61f09dce2e4461017f7cbc0d8
parent82dc6426b4cbf769ace7976c2a40d160b8d76f08
Start moving protocol-specific code to protocol.[ch]pp

Move CMessageHeader from net.h to protocol.[ch]pp, with the
implementation in the .cpp compilation unit (compiling once is enough).

This commit does *not* and should not modify *any* code, it only moves
it from net.h and splits it across protocol.cpp and protocol.hpp.

Indentation changes aside the closest thing to a modification of code is
the addition of the 'TODO' comment (the execution of which requires code
modifications and thus doesn't belong in this commit).

Signed-off-by: Giel van Schijndel <me@mortis.eu>
src/main.h
src/makefile.linux-mingw
src/makefile.mingw
src/makefile.osx
src/makefile.unix
src/makefile.vc
src/net.h
src/protocol.cpp [new file with mode: 0644]
src/protocol.h [new file with mode: 0644]