526 if (!conf.DoParse(argc, argv,
PrintHelp))
532 if (!conf.Has(
"console"))
534 if (conf.Get<
bool>(
"no-dim"))
535 return RunShell<LocalStream, StateMachine, ConnectionWeather>(conf);
537 return RunShell<LocalStream, StateMachineDim, ConnectionDimWeather>(conf);
540 if (conf.Get<
bool>(
"no-dim"))
542 if (conf.Get<
int>(
"console")==0)
543 return RunShell<LocalShell, StateMachine, ConnectionWeather>(conf);
545 return RunShell<LocalConsole, StateMachine, ConnectionWeather>(conf);
549 if (conf.Get<
int>(
"console")==0)
550 return RunShell<LocalShell, StateMachineDim, ConnectionDimWeather>(conf);
552 return RunShell<LocalConsole, StateMachineDim, ConnectionDimWeather>(conf);
void SetupConfiguration(Configuration &conf)
Commandline parsing, resource file parsing and database access.
void SetupConfiguration(Configuration &conf)