From d43120ca4a68006811b3645d0d9065ac098ddc65 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 24 Feb 2008 14:09:02 +0000 Subject: First part of my evil empire! BWAHAHAHAHAHAHAH...HAHAHAHA...AHAHAH *cough* err i mean... remote includes (BWAHAHAHA) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9013 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'include') diff --git a/include/inspircd.h b/include/inspircd.h index 5f528c16b..a933e5c41 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -232,6 +232,21 @@ DEFINE_HANDLER1(FloodQuitUserHandler, void, User*); class XLineManager; class BanCacheManager; +class ConfigReaderThread : public Thread +{ + InspIRCd* ServerInstance; + public: + ConfigReaderThread(InspIRCd* Instance) : Thread(), ServerInstance(Instance) + { + } + + virtual ~ConfigReaderThread() + { + } + + void Run(); +}; + /** The main class of the irc server. * This class contains instances of all the other classes * in this software, with the exception of the base class, @@ -381,6 +396,14 @@ class CoreExport InspIRCd : public classbase */ SocketEngine* SE; + /** Thread engine, Handles threading where required + */ + ThreadEngine* Threads; + + /** The thread/class used to read config files in REHASH and on startup + */ + ConfigReaderThread* ConfigThread; + /** LogManager handles logging. */ LogManager *Logs; -- cgit v1.2.3