From 064d18536159e5f907f8ccfd1147281c8ec93bc4 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 16 Dec 2005 12:00:52 +0000 Subject: So many inclusion loops it makes your head spin - forward declaring tons of classes to fix git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2523 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/ctables.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'include/ctables.h') diff --git a/include/ctables.h b/include/ctables.h index 5926f3a2a..2dadca42d 100644 --- a/include/ctables.h +++ b/include/ctables.h @@ -18,12 +18,15 @@ #define __CTABLES_H__ #include "inspircd_config.h" -#include "inspircd.h" -#include "base.h" +#include + +class userrec; + +typedef void (handlerfunc) (char**, int, userrec*); /** A structure that defines a command */ -class command_t : public Extensible +class command_t { public: /** Command name @@ -49,5 +52,7 @@ class command_t : public Extensible char source[MAXBUF]; }; +typedef std::deque command_table; + #endif -- cgit v1.2.3