From fa452641bf37077fcda964d59e404a76e1fb13e5 Mon Sep 17 00:00:00 2001 From: danieldg Date: Sun, 18 Oct 2009 16:18:44 +0000 Subject: Remove more classbase git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11905 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/ctables.h | 2 +- include/inspircd.h | 14 ++++++-------- include/logger.h | 2 +- include/protocol.h | 2 +- include/snomasks.h | 2 +- include/testsuite.h | 2 +- include/usermanager.h | 2 +- 7 files changed, 12 insertions(+), 14 deletions(-) (limited to 'include') diff --git a/include/ctables.h b/include/ctables.h index 0cf4c50d2..cc80053d8 100644 --- a/include/ctables.h +++ b/include/ctables.h @@ -85,7 +85,7 @@ struct RouteDescriptor /** A structure that defines a command. Every command available * in InspIRCd must be defined as derived from Command. */ -class CoreExport Command : public Extensible +class CoreExport Command : public classbase { public: /** Command name diff --git a/include/inspircd.h b/include/inspircd.h index 93ba8bfa6..9f7d07f5d 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -208,7 +208,7 @@ template inline char* itoa(const T &in, V *r * It is used by the InspIRCd class, which internally * has an instance of it. */ -class serverstats : public classbase +class serverstats { public: /** Number of accepted connections @@ -298,14 +298,12 @@ class CoreExport ConfigReaderThread : public Thread }; /** 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, - * classbase. Amongst other things, it contains a ModeParser, - * a DNS object, a CommandParser object, and a list of active - * Module objects, and facilities for Module objects to - * interact with the core system it implements. + * This class contains instances of all the other classes in this software. + * Amongst other things, it contains a ModeParser, a DNS object, a CommandParser + * object, and a list of active Module objects, and facilities for Module + * objects to interact with the core system it implements. */ -class CoreExport InspIRCd : public classbase +class CoreExport InspIRCd { private: /** Holds the current UID. Used to generate the next one. diff --git a/include/logger.h b/include/logger.h index 709d00aed..4914e86a2 100644 --- a/include/logger.h +++ b/include/logger.h @@ -117,7 +117,7 @@ class CoreExport LogStream : public classbase typedef std::map FileLogMap; -class CoreExport LogManager : public classbase +class CoreExport LogManager { private: /** Lock variable, set to true when a log is in progress, which prevents further loggging from happening and creating a loop. diff --git a/include/protocol.h b/include/protocol.h index a3afe9fb3..ed53c3cbb 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -33,7 +33,7 @@ class ProtoServer typedef std::list ProtoServerList; -class ProtocolInterface : public Extensible +class ProtocolInterface { public: ProtocolInterface() { } diff --git a/include/snomasks.h b/include/snomasks.h index dddde1ff9..591a8708c 100644 --- a/include/snomasks.h +++ b/include/snomasks.h @@ -14,7 +14,7 @@ #ifndef __SNOMASKS_H__ #define __SNOMASKS_H__ -class Snomask : public Extensible +class Snomask { public: char MySnomask; diff --git a/include/testsuite.h b/include/testsuite.h index 89318e32f..66a12ab39 100644 --- a/include/testsuite.h +++ b/include/testsuite.h @@ -14,7 +14,7 @@ #ifndef __TESTSUITE_H__ #define __TESTSUITE_H__ -class TestSuite : public Extensible +class TestSuite { public: TestSuite(); diff --git a/include/usermanager.h b/include/usermanager.h index 93f0476e3..4c1f94248 100644 --- a/include/usermanager.h +++ b/include/usermanager.h @@ -19,7 +19,7 @@ /** A list of ip addresses cross referenced against clone counts */ typedef std::map clonemap; -class CoreExport UserManager : public Extensible +class CoreExport UserManager { private: /** Map of local ip addresses for clone counting -- cgit v1.2.3