Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config-based module creation improvement #136

Open
febret opened this issue Jan 24, 2015 · 0 comments
Open

Config-based module creation improvement #136

febret opened this issue Jan 24, 2015 · 0 comments

Comments

@febret
Copy link
Member

febret commented Jan 24, 2015

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).
@febret febret added this to the v6.1 milestone Jan 24, 2015
@febret febret modified the milestones: v6.2, v6.1, v6.3 Jan 31, 2015
@febret febret modified the milestones: Wishlist, v6.3 Apr 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant