Definition at line 191 of file mainIDash.cpp. References Impala::CmdOptions::AddOption(), Impala::CmdOptions::GetInstance(), Impala::Application::IDash::IDash::Go(), ILOG_SYSTEM, ILOG_VAR, Impala::CmdOptions::Initialise(), Impala::CmdOptions::ParseArgs(), and Impala::CmdOptions::SetDefault(). Referenced by main(). 00192 { 00193 OglInit(&argc, &argv[0]); 00194 00195 // configuration: 00196 Impala::CmdOptions& options = Impala::CmdOptions::GetInstance(); 00197 options.Initialise(true, false, true); 00198 options.SetDefault("wndWidth", "1280"); 00199 options.SetDefault("wndHeight", "975"); 00200 00201 options.AddOption(0, "noArchive", "", "0"); 00202 options.AddOption(0, "imFileArchive", "", "0"); 00203 options.AddOption(0, "imServer", "name", ""); 00204 00205 options.AddOption(0, "maxImagesOnRow", "", "99"); 00206 00207 options.AddOption(0, "actionloglevel", "0=all .. 10=nothing", "2"); 00208 options.AddOption(0, "loglevel", "0=all .. 10=nothing", "2"); 00209 options.AddOption(0, "logfile", "filename", "trecsearch.log"); 00210 options.AddOption(0, "logtofile", "0 = no, 1 = yes", "1"); 00211 00212 options.AddOption(0, "mdBrowserUseKeyframes", "0=no, thumbnails, 1=yes, only center, 2=yes, always", "0"); 00213 options.AddOption(0, "mdBrowserAspectRatio", "0=automatic, else value", "0"); 00214 options.AddOption(0, "mdBrowserHighResDistance", "nr of shots from center, 0=only center", "0"); 00215 00216 // enable in browser mini-query pane 00217 options.AddOption(0, "enableLargeQueryPane", "", "0"); 00218 options.AddOption(0, "enableInBrowserQueryPane", "", "0"); 00219 options.AddOption(0, "startWithMovies", "", "0"); 00220 if (! options.ParseArgs(argc, argv, "", 0)) 00221 return 1; 00222 00223 ILOG_VAR(Impala.Application.IDash.mainIDash); 00224 00225 ILOG_SYSTEM("LOADING......"); 00226 Impala::Application::IDash::IDash *d = new Impala::Application::IDash::IDash(); 00227 ILOG_SYSTEM("STARTING -----------------------------"); 00228 d->Go(); 00229 ILOG_SYSTEM("STOPPING -----------------------------"); 00230 return 0; 00231 }
Here is the call graph for this function:
|