From: Mikko Rasa Date: Tue, 1 Nov 2016 22:00:55 +0000 (+0200) Subject: Move the definition of PacketTypeDef::class_id to a separate header X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=8248f2912454229f4ded72b8fb4db3e76ea3ad15;hp=8248f2912454229f4ded72b8fb4db3e76ea3ad15;p=libs%2Fnet.git Move the definition of PacketTypeDef::class_id to a separate header Defining it in protocol.h may cause multiple definitions to appear across the program and there are cases where they don't get collapsed to one. DLLs on Windows are one such case. The _impl header is to be included in files that add packet definitions to a protocol and nowhere else. ---