28 lines
613 B
C++
Executable File
28 lines
613 B
C++
Executable File
#include <NGLLogger/INGLLogger.h>
|
|
#include <nglapplication/nglapplication.h>
|
|
#include "maindialog.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
NGLApplication app(argc, argv);
|
|
QCoreApplication::setApplicationName(QLatin1String("Numeral Codification Table"));
|
|
QCoreApplication::setOrganizationName(QLatin1String("RME"));
|
|
|
|
app.createLogger("CodificationTable", "log4cxx_cod_test.props");
|
|
NGL::INGLLogger &logger = app.baseLogger();
|
|
|
|
STARTUP_LOG(logger);
|
|
|
|
MainDialog w;
|
|
w.init();
|
|
w.show();
|
|
|
|
// app.setQuitOnLastWindowClosed(true);
|
|
|
|
int retval = app.exec();
|
|
|
|
SHUTDOWN_LOG(logger);
|
|
|
|
return retval;
|
|
}
|