--- a/src/configuration.h Sun Jul 27 03:14:27 2014 +0300 +++ b/src/configuration.h Sun Jul 27 04:25:50 2014 +0300 @@ -24,6 +24,7 @@ #include "basics.h" class QSettings; +class AbstractConfigEntry; #define CFGENTRY(T, NAME, DEFAULT) namespace cfg { AbstractConfigEntry::T##Type NAME; } #define EXTERN_CFGENTRY(T, NAME) namespace cfg { extern AbstractConfigEntry::T##Type NAME; } @@ -37,6 +38,8 @@ QString DirectoryPath(); QString FilePath (QString file); QSettings* SettingsObject(); + QList<AbstractConfigEntry*> const& AllConfigEntries(); + AbstractConfigEntry* FindByName (QString const& name); } class AbstractConfigEntry