summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-13 03:10:30 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-13 03:10:30 +0000
commitf56b7d5e861648e5ddc1b766e40779082ebaeff1 (patch)
treea7c8716d42ee8176d968fb0dd81568e557d7bf29
parent61e944f9fd3dc323858cbb5636abd024225aa027 (diff)
Add a channel manager class while I'm at it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8704 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--include/channelmanager.h28
-rw-r--r--src/channelmanager.cpp17
2 files changed, 45 insertions, 0 deletions
diff --git a/include/channelmanager.h b/include/channelmanager.h
new file mode 100644
index 000000000..a85cdea26
--- /dev/null
+++ b/include/channelmanager.h
@@ -0,0 +1,28 @@
+/* +------------------------------------+
+ * | Inspire Internet Relay Chat Daemon |
+ * +------------------------------------+
+ *
+ * InspIRCd: (C) 2002-2008 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
+ *
+ * This program is free but copyrighted software; see
+ * the file COPYING for details.
+ *
+ * ---------------------------------------------------
+ */
+
+#ifndef __CHANNELMANAGER_H
+#define __CHANNELMANAGER_H
+
+class CoreExport ChannelManager : public classbase
+{
+ private:
+ InspIRCd *ServerInstance;
+ public:
+ UserManager(InspIRCd *Instance)
+ {
+ ServerInstance = Instance;
+ }
+};
+
+#endif
diff --git a/src/channelmanager.cpp b/src/channelmanager.cpp
new file mode 100644
index 000000000..17fe4da46
--- /dev/null
+++ b/src/channelmanager.cpp
@@ -0,0 +1,17 @@
+/* +------------------------------------+
+ * | Inspire Internet Relay Chat Daemon |
+ * +------------------------------------+
+ *
+ * InspIRCd: (C) 2002-2008 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
+ *
+ * This program is free but copyrighted software; see
+ * the file COPYING for details.
+ *
+ * ---------------------------------------------------
+ */
+
+/* $Core: libIRCDchannelmanager */
+
+#include "inspircd.h"
+