Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+36
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* @RDE_HEADER@
|
||||
* <short description>
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Malte Schröder, SLSE, 2016-07-14
|
||||
*/
|
||||
|
||||
#include "mainwindow.h"
|
||||
#include <NGLLogger/INGLLogger.h>
|
||||
#include <nglapplication/nglapplication.h>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
NGLApplication app(argc, argv);
|
||||
QCoreApplication::setApplicationName(QLatin1String("LogViewer"));
|
||||
QCoreApplication::setOrganizationName(QLatin1String("RME"));
|
||||
|
||||
app.createLogger("LogViewer", "log4cxx_logviewer.props");
|
||||
NGL::INGLLogger &logger = app.baseLogger();
|
||||
|
||||
STARTUP_LOG(logger);
|
||||
|
||||
MainWindow w;
|
||||
w.init();
|
||||
w.show();
|
||||
|
||||
app.setQuitOnLastWindowClosed(true);
|
||||
|
||||
int retval = app.exec();
|
||||
|
||||
SHUTDOWN_LOG(logger);
|
||||
|
||||
return retval;
|
||||
}
|
||||
Reference in new issue
Block a user