コード例 #1
0
ファイル: booster.cpp プロジェクト: rainisto/mapplauncherd
int Booster::launchProcess()
{
    setEnvironmentBeforeLaunch();

    // Load the application and find out the address of main()
    loadMain();

    // make booster specific initializations unless booster is in boot mode
    if (!m_bootMode)
        preinit();

#ifdef WITH_COVERAGE
    __gcov_flush();
#endif

    // Close syslog
    closelog();

    // Jump to main()
    const int retVal = m_appData->entry()(m_appData->argc(), const_cast<char **>(m_appData->argv()));

#ifdef WITH_COVERAGE
    __gcov_flush();
#endif

    return retVal;
}
コード例 #2
0
ファイル: DebuggingOptions.cpp プロジェクト: krzy4ztof/Main
void DebuggingOptions::load(const string &filename) {
	//checkCurDir();
	//checkFile(filename);
	//loadDebug(filename);
	//		loadPets(filename);
	//loadOptions(filename);

	loadMain(filename);

}