refs #621, allow to load setup from resource dir file

* CValueObjects can be loaded from JSON file
* get bootstrap file location
This commit is contained in:
Klaus Basan
2016-03-19 01:44:29 +01:00
parent 87a0c75f43
commit 703a43c6fb
4 changed files with 46 additions and 2 deletions

View File

@@ -144,6 +144,9 @@ namespace BlackCore
//! Build bootstrap file URL
static QString buildBootstrapFileUrl(const QString &candidate);
//! Object initialized by JSON file
static CGlobalSetup fromJsonFile(const QString &fileNameAndPath);
private:
BLACK_ENABLE_TUPLE_CONVERSION(BlackCore::Data::CGlobalSetup)