summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-10 18:54:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-10 18:54:25 +0000
commit62b550f653ca674bb84eaac77fcdbc4bfc84f135 (patch)
treeb67933ec558a040aa969025f0331dd3d305af9c1 /include
parent73e972340bee8ea9cdbbe5520b1b461fbce1f121 (diff)
Inherit tons of stuff from classbase that should always have been
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4298 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/configreader.h8
-rw-r--r--include/inspircd.h4
-rw-r--r--include/mode.h2
-rw-r--r--include/modules.h4
-rw-r--r--include/u_listmode.h4
-rw-r--r--include/users.h2
6 files changed, 14 insertions, 10 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 3bb7bb4ed..773f1c637 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -32,7 +32,9 @@ typedef bool (*MultiNotify)(const char*);
enum ConfigDataType { DT_NOTHING, DT_INTEGER, DT_CHARPTR, DT_BOOLEAN };
-struct InitialConfig {
+class InitialConfig : public classbase
+{
+ public:
char* tag;
char* value;
void* val;
@@ -40,7 +42,9 @@ struct InitialConfig {
Validator validation_function;
};
-struct MultiConfig {
+class MultiConfig : public classbase
+{
+ public:
const char* tag;
char* items[12];
int datatype[12];
diff --git a/include/inspircd.h b/include/inspircd.h
index 11fdb3a54..109e1f2be 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -52,7 +52,7 @@ template<typename T> inline std::string ConvToStr(const T &in)
return tmp.str();
}
-class serverstats
+class serverstats : public classbase
{
public:
int statsAccept;
@@ -77,7 +77,7 @@ class serverstats
};
-class InspIRCd
+class InspIRCd : public classbase
{
private:
char MODERR[MAXBUF];
diff --git a/include/mode.h b/include/mode.h
index 8145ccd32..386116a24 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -251,7 +251,7 @@ class ModeWatcher : public Extensible
typedef std::vector<ModeWatcher*>::iterator ModeWatchIter;
-class ModeParser
+class ModeParser : public classbase
{
private:
/**
diff --git a/include/modules.h b/include/modules.h
index 851fa1b5a..3aab093e5 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -268,7 +268,7 @@ class Event : public ModuleMessage
* be loaded. If this happens, the error message returned by ModuleException::GetReason will be displayed to the user
* attempting to load the module, or dumped to the console if the ircd is currently loading for the first time.
*/
-class ModuleException
+class ModuleException : public classbase
{
private:
/** Holds the error message to be displayed
@@ -1210,7 +1210,7 @@ class Module : public Extensible
* output to users and other servers. All modules should instantiate at least one copy of this class,
* and use its member functions to perform their tasks.
*/
-class Server : public classbase
+class Server : public Extensible
{
public:
/** Default constructor.
diff --git a/include/u_listmode.h b/include/u_listmode.h
index 9c34cc982..036319b9e 100644
--- a/include/u_listmode.h
+++ b/include/u_listmode.h
@@ -25,7 +25,7 @@ inline std::string stringtime()
return TIME.str();
}
-class ListItem
+class ListItem : public classbase
{
public:
std::string nick;
@@ -33,7 +33,7 @@ public:
std::string time;
};
-class ListLimit
+class ListLimit : public classbase
{
public:
std::string mask;
diff --git a/include/users.h b/include/users.h
index 64ebd5fb7..30fa937fb 100644
--- a/include/users.h
+++ b/include/users.h
@@ -398,7 +398,7 @@ class userrec : public connection
/** Used to hold WHOWAS information
*/
-class WhoWasGroup
+class WhoWasGroup : public classbase
{
public:
char* host;