From f56b7d5e861648e5ddc1b766e40779082ebaeff1 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 13 Jan 2008 03:10:30 +0000 Subject: 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 --- include/channelmanager.h | 28 ++++++++++++++++++++++++++++ src/channelmanager.cpp | 17 +++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 include/channelmanager.h create mode 100644 src/channelmanager.cpp 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" + -- cgit v1.2.3