/** * @file main/gui/main.cpp * @brief The main eVaf GUI application class * * Copyright (c) 2011 Enar Vaikene * * This file is part of the eVaf C++ cross-platform application development framework. * * This file can be used under the terms of the GNU General Public License * version 3.0 as published by the Free Software Foundation and appearing in * the file LICENSE included in the packaging of this file. Please review the * the following information to ensure the GNU General Public License version * 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html. * * Alternatively, this file may be used in accordance with the Commercial License * Agreement provided with the Software. */ #include "main.h" #include "exithandler.h" #include "fatalerr.h" #include "version_p.h" #include "version.h" #ifdef Q_OS_WIN32 #include "winconsole.h" #endif #include //------------------------------------------------------------------- using namespace eVafGUI; Application::Application(int & argc, char ** argv) : QApplication(argc, argv) { setObjectName(QString("%1-%2").arg(VER_MODULENAME_STR).arg(__FUNCTION__)); setWindowIcon(QIcon(":/eVafGUI/Icon")); } Application::~Application() { } //------------------------------------------------------------------- int main(int argc, char ** argv) { Application app(argc, argv); return rval; }