diff options
| author | 2006-07-10 18:54:25 +0000 | |
|---|---|---|
| committer | 2006-07-10 18:54:25 +0000 | |
| commit | 62b550f653ca674bb84eaac77fcdbc4bfc84f135 (patch) | |
| tree | b67933ec558a040aa969025f0331dd3d305af9c1 /include/configreader.h | |
| parent | Making lots of stuff inherit from classbase so we can use it as a holdall cla... (diff) | |
| download | inspircd++-62b550f653ca674bb84eaac77fcdbc4bfc84f135.tar.gz inspircd++-62b550f653ca674bb84eaac77fcdbc4bfc84f135.tar.bz2 inspircd++-62b550f653ca674bb84eaac77fcdbc4bfc84f135.zip | |
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/configreader.h')
| -rw-r--r-- | include/configreader.h | 8 |
1 files changed, 6 insertions, 2 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]; |
