summaryrefslogtreecommitdiff
path: root/include/xline.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-24 20:03:53 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-24 20:03:53 +0000
commit6b2ea833674bb3bfedb0f2e2af06efa25655e5f5 (patch)
treeeed4cba6bd5b019ffd33f2e46ddb8b129d2d732d /include/xline.h
parent68e8a75daf6933d7ec4a3bd21cf12ed1ac880739 (diff)
Move forward declarations to typedefs.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11967 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/xline.h')
-rw-r--r--include/xline.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/include/xline.h b/include/xline.h
index 4ad1c63be..30cd13801 100644
--- a/include/xline.h
+++ b/include/xline.h
@@ -14,10 +14,6 @@
#ifndef __XLINE_H
#define __XLINE_H
-//#include <string>
-//#include <deque>
-//#include <vector>
-
/** XLine is the base class for ban lines such as G lines and K lines.
* Modules may derive from this, and their xlines will automatically be
* handled as expected by any protocol modules (e.g. m_spanningtree will
@@ -355,10 +351,6 @@ class CoreExport QLine : public XLine
std::string nick;
};
-/** Contains an ident and host split into two strings
- */
-typedef std::pair<std::string, std::string> IdentHostPair;
-
/** XLineFactory is used to generate an XLine pointer, given just the
* pattern, timing information and type of line to create. This is used
* for example in the spanningtree module which will call an XLineFactory
@@ -402,30 +394,6 @@ class CoreExport XLineFactory
virtual ~XLineFactory() { }
};
-/* Required forward declarations
- */
-class ServerConfig;
-
-/** A map of xline factories
- */
-typedef std::map<std::string, XLineFactory*> XLineFactMap;
-
-/** A map of XLines indexed by string
- */
-typedef std::map<irc::string, XLine *> XLineLookup;
-
-/** A map of XLineLookup maps indexed by string
- */
-typedef std::map<std::string, XLineLookup > XLineContainer;
-
-/** An iterator in an XLineContainer
- */
-typedef XLineContainer::iterator ContainerIter;
-
-/** An interator in an XLineLookup
- */
-typedef XLineLookup::iterator LookupIter;
-
/** XLineManager is a class used to manage glines, klines, elines, zlines and qlines,
* or any other line created by a module. It also manages XLineFactory classes which
* can generate a specialized XLine for use by another module.