New upstream version 8.1.0
This commit is contained in:
23
fsck/source/program/Program.cpp
Normal file
23
fsck/source/program/Program.cpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#include <common/toolkit/BuildTypeTk.h>
|
||||
#include "Program.h"
|
||||
|
||||
App* Program::app = NULL;
|
||||
|
||||
int Program::main(int argc, char** argv)
|
||||
{
|
||||
BuildTypeTk::checkDebugBuildTypes();
|
||||
|
||||
AbstractApp::runTimeInitsAndChecks(); // must be called before creating a new App
|
||||
|
||||
app = new App(argc, argv);
|
||||
|
||||
app->startInCurrentThread();
|
||||
|
||||
int appRes = app->getAppResult();
|
||||
|
||||
delete app;
|
||||
|
||||
return appRes;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user