1701 if (!conf.DoParse(argc, argv,
PrintHelp))
1707 if (!conf.Has(
"console"))
1709 if (conf.Get<
bool>(
"no-dim"))
1710 return RunShell<LocalStream, StateMachine, ConnectionDrive>(conf);
1712 return RunShell<LocalStream, StateMachineDim, ConnectionDimDrive>(conf);
1715 if (conf.Get<
bool>(
"no-dim"))
1717 if (conf.Get<
int>(
"console")==0)
1718 return RunShell<LocalShell, StateMachine, ConnectionDrive>(conf);
1720 return RunShell<LocalConsole, StateMachine, ConnectionDrive>(conf);
1724 if (conf.Get<
int>(
"console")==0)
1725 return RunShell<LocalShell, StateMachineDim, ConnectionDimDrive>(conf);
1727 return RunShell<LocalConsole, StateMachineDim, ConnectionDimDrive>(conf);
void SetupConfiguration(Configuration &conf)
void SetupConfiguration(Configuration &conf)
Commandline parsing, resource file parsing and database access.