402 if (!conf.DoParse(argc, argv,
PrintHelp))
406 if (!conf.Has(
"console"))
408 if (conf.Get<
bool>(
"no-dim"))
409 return RunShell<LocalStream, StateMachine, ConnectionPFmini>(conf);
411 return RunShell<LocalStream, StateMachineDim, ConnectionDimWeather>(conf);
414 if (conf.Get<
bool>(
"no-dim"))
416 if (conf.Get<
int>(
"console")==0)
417 return RunShell<LocalShell, StateMachine, ConnectionPFmini>(conf);
419 return RunShell<LocalConsole, StateMachine, ConnectionPFmini>(conf);
423 if (conf.Get<
int>(
"console")==0)
424 return RunShell<LocalShell, StateMachineDim, ConnectionDimWeather>(conf);
426 return RunShell<LocalConsole, StateMachineDim, ConnectionDimWeather>(conf);
void SetupConfiguration(Configuration &conf)
void SetupConfiguration(Configuration &conf)
Commandline parsing, resource file parsing and database access.