618 if (!conf.DoParse(argc, argv,
PrintHelp))
624 if (!conf.Has(
"console"))
626 if (conf.Get<
bool>(
"no-dim"))
627 return RunShell<LocalStream, StateMachine, ConnectionWeather>(conf);
629 return RunShell<LocalStream, StateMachineDim, ConnectionDimWeather>(conf);
632 if (conf.Get<
bool>(
"no-dim"))
634 if (conf.Get<
int>(
"console")==0)
635 return RunShell<LocalShell, StateMachine, ConnectionWeather>(conf);
637 return RunShell<LocalConsole, StateMachine, ConnectionWeather>(conf);
641 if (conf.Get<
int>(
"console")==0)
642 return RunShell<LocalShell, StateMachineDim, ConnectionDimWeather>(conf);
644 return RunShell<LocalConsole, StateMachineDim, ConnectionDimWeather>(conf);
void SetupConfiguration(Configuration &conf)
void SetupConfiguration(Configuration &conf)
Commandline parsing, resource file parsing and database access.