(svn r8437) -Codechange: move often duplicated (in MSU) define to the udp header.

This commit is contained in:
rubidium
2007-01-28 13:07:24 +00:00
parent 5052c6609d
commit 3e6bd9c2e9
2 changed files with 1 additions and 2 deletions

View File

@@ -90,6 +90,7 @@ enum PacketUDPType {
};
#define DECLARE_UDP_RECEIVE_COMMAND(type) virtual void NetworkPacketReceive_## type ##_command(Packet *p, const struct sockaddr_in *)
#define DEF_UDP_RECEIVE_COMMAND(cls, type) void cls ##NetworkUDPSocketHandler::NetworkPacketReceive_ ## type ## _command(Packet *p, const struct sockaddr_in *client_addr)
/** Base socket handler for all UDP sockets */
class NetworkUDPSocketHandler : public NetworkSocketHandler {