Definition at line 60 of file fact.cc.
References Configuration::DoParse(), Configuration::Get(), PrintHelp(), PrintUsage(), Configuration::SetPrintUsage(), Dim::Setup(), and SetupConfiguration().
69 Dim::Setup(conf.Get<
string>(
"dns"), conf.Get<
string>(
"host"));
71 cout <<
"LD_LIBRARY_PATH=" << gSystem->GetDynamicPath() << endl;
73 cout <<
"--- Starting QApplication ---" << endl;
74 QApplication app(argc, const_cast<char**>(argv));
76 cout <<
"--- Working around a root bug ---" << endl;
84 cout <<
"--- Instantiating GUI ---" << endl;
87 cout <<
"--- Show GUI ---" << endl;
90 cout <<
"--- Main loop ---" << endl;
92 const int rc = app.exec();
94 cout <<
"The end." << endl;
void SetupConfiguration(Configuration &conf)
void Setup(const std::string &dns="", const std::string &host="")
Commandline parsing, resource file parsing and database access.