summaryrefslogtreecommitdiff
path: root/include/ctables.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-16 12:00:52 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-16 12:00:52 +0000
commit064d18536159e5f907f8ccfd1147281c8ec93bc4 (patch)
treeda3972a70e0bed2025422d06e62b1f5fe2490fdd /include/ctables.h
parent092eb69a53d679053b8daee895a7a290a71b2e62 (diff)
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
Diffstat (limited to 'include/ctables.h')
-rw-r--r--include/ctables.h11
1 files changed, 8 insertions, 3 deletions
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 <deque>
+
+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_t> command_table;
+
#endif