MConfig is the reference config class for Milo projects.
Main features:
- Very simple to use
- Can work without saving any config files, with no overhead.
- On demand can save or load configuration to/from file.
- Does not require any special magic to work.
- Class can be inherited multiple times.
- Just check out the code, it speaks for itself :-)
For example usage, see main.cpp file. This project is fully docummented - please check doxygen docs or see the comments directly in the source file(s).
This is flavor of config class that is designed for easy generation of ui for editing values of config.
Basic editor is provided under the name MMetaConfigEditor. To use it in project add CONFIG += mconfig-editors
before including mconfig.pri file.
It is possible to encrypt your config file! To enable it simply add MCrypto library to your project:
for qmake include(mcrypto.pri)
or for cmake add_subdirectory(/your-path-to-mcdb/mcrypto mcrypto))
.
Then you can enable build option called mconfig-mcrypto.
This project is licensed under the MIT License - see the LICENSE-MiloCodeDB.txt file for details