From 6b2ea833674bb3bfedb0f2e2af06efa25655e5f5 Mon Sep 17 00:00:00 2001 From: danieldg Date: Sat, 24 Oct 2009 20:03:53 +0000 Subject: Move forward declarations to typedefs.h git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11967 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'include/inspircd.h') diff --git a/include/inspircd.h b/include/inspircd.h index 292fbd488..a183e1ded 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -53,15 +53,12 @@ #include #include #include +#include "inspircd_config.h" +#include "inspircd_version.h" +#include "typedefs.h" -/** A list of failed port bindings, used for informational purposes on startup */ -typedef std::vector > FailedPortList; - -class InspIRCd; CoreExport extern InspIRCd* ServerInstance; -#include "inspircd_config.h" -#include "inspircd_version.h" #include "caller.h" #include "cull_list.h" #include "extensible.h" @@ -71,7 +68,6 @@ CoreExport extern InspIRCd* ServerInstance; #include "channels.h" #include "timer.h" #include "hashcomp.h" -#include "typedefs.h" #include "logger.h" #include "usermanager.h" #include "socket.h" @@ -237,8 +233,6 @@ class serverstats } }; -class InspIRCd; - DEFINE_HANDLER2(IsNickHandler, bool, const char*, size_t); DEFINE_HANDLER1(IsIdentHandler, bool, const char*); DEFINE_HANDLER1(FloodQuitUserHandler, void, User*); @@ -246,10 +240,6 @@ DEFINE_HANDLER2(IsChannelHandler, bool, const char*, size_t); DEFINE_HANDLER1(IsSIDHandler, bool, const std::string&); DEFINE_HANDLER1(RehashHandler, void, const std::string&); -/* Forward declaration - required */ -class XLineManager; -class BanCacheManager; - /** The background thread for config reading, so that reading from executable includes * does not block. */ -- cgit v1.2.3