omegalib
omegalib copied to clipboard
Config-based module creation improvement
Make it possible to use the module config section name as the config class, if a class
config value is not present in the section. So i.e. this:
modules:
{
imagePointer: { class="ImagePointerFactory"; image="foo.png" };
}
become this
modules:
{
ImagePointerFactory: { image="foo.png" };
}
Change is in SystemManager.cpp:508 It could also be useful to have a method in systemManager such as
-
SystemManager.findModuleConfig(String name)
that finds the config section for a module in the app or sysconfig file based on the name used (it;s just a search in config/modules for both sys and appcfg).