From 46cbeabad586924f12b51277718c394eb225aad6 Mon Sep 17 00:00:00 2001 From: Olaf Rempel Date: Sun, 16 Apr 2006 20:32:52 +0200 Subject: [PATCH] put game_ports into mod_helper --- modhelper.h | 7 ++++++- module.h | 7 +------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/modhelper.h b/modhelper.h index bb5c8ff..8c34be2 100644 --- a/modhelper.h +++ b/modhelper.h @@ -3,7 +3,12 @@ #include "multisock.h" #include "netpkt.h" -#include "module.h" + +struct game_ports { + int portlo; + int porthi; + int gameid; +}; class ModHelper { public: diff --git a/module.h b/module.h index 00413ce..cde4b59 100644 --- a/module.h +++ b/module.h @@ -1,6 +1,7 @@ #ifndef _MODULE_H_ #define _MODULE_H_ +#include "list.h" #include "config.h" #include "multisock.h" #include "netpkt.h" @@ -58,12 +59,6 @@ enum { ID_COD2 // "Call of Duty 2" }; -struct game_ports { - int portlo; - int porthi; - int gameid; -}; - class Module : private ListEntry { public: virtual ~Module() {};