562 if (!conf.DoParse(argc, argv,
PrintHelp))
566 if (!conf.Has(
"console"))
568 if (conf.Get<
bool>(
"no-dim"))
569 return RunShell<LocalStream, StateMachine, ConnectionInterlock>(conf);
571 return RunShell<LocalStream, StateMachineDim, ConnectionDimWeather>(conf);
574 if (conf.Get<
bool>(
"no-dim"))
576 if (conf.Get<
int>(
"console")==0)
577 return RunShell<LocalShell, StateMachine, ConnectionInterlock>(conf);
579 return RunShell<LocalConsole, StateMachine, ConnectionInterlock>(conf);
583 if (conf.Get<
int>(
"console")==0)
584 return RunShell<LocalShell, StateMachineDim, ConnectionDimWeather>(conf);
586 return RunShell<LocalConsole, StateMachineDim, ConnectionDimWeather>(conf);
void SetupConfiguration(Configuration &conf)
void SetupConfiguration(Configuration &conf)
Commandline parsing, resource file parsing and database access.