src/gen/README.md
Copyright (C) 2014 David Capello
Distributed under MIT license
This utility generates source code from XML files. Its aim is to convert XML files (dynamic data) to C++ files (static structures) that can be checked in compile-time. There are three areas of interest:
ui::Widgets subclasses from
data/widgets/*.xml
files. In this way we can create wrappers that can access to each
XML file directly in a easier way (e.g. one member for each widget
with an id parameter on it).config-metadata.xml file (so we can replace
get/set_config_int/bool/string() function calls). There is an
ongoing cfg module to replace the whole reading/writing
operations of user's settings/preferences.