1
0
mirror of https://github.com/paboyle/Grid.git synced 2026-01-10 03:49:33 +00:00

Add function to say whether or not a module exists in application class

This commit is contained in:
Lanny91
2017-02-01 16:36:08 +00:00
parent d35d87d2c2
commit 522f6bf91a
2 changed files with 6 additions and 0 deletions

View File

@@ -91,6 +91,11 @@ const Application::GlobalPar & Application::getPar(void)
return par_;
}
bool Application::hasModule(const std::string name)
{
return env().hasModule(name);
}
// execute /////////////////////////////////////////////////////////////////////
void Application::run(void)
{