src/configuration.h

changeset 851
dbed6938238c
parent 848
68410477c8bb
child 855
e16f1587ef44
--- 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

mercurial