34 if ( !wxApp::OnInit() )
return false;
35 wxConfig::Set (
new wxConfig (
"yatish",
"EIF-services",
36 wxEmptyString, wxEmptyString,
37 wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_SUBDIR) );
39 wxStandardPaths::Get().SetInstallPrefix (
"/usr/local");
44 if ( checker.IsAnotherRunning() ) {
45 wxLogError(_(
"Another program instance is already running, aborting this one.") );
49 wxFileSystem::AddHandler(
new wxZipFSHandler);
52 wxInitAllImageHandlers();
65 delete wxConfig::Set (
nullptr);
66 return wxApp::OnExit();
Usual wxWidgets application class, taking care of:
Main Yatish frame; apart from menus, status bar, etc. this (large!) class:
wxIMPLEMENT_APP(yatishApp)