diff options
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]; |