]>
vaikene.ee Git - evaf/blob - main.cpp
4c570845bafecf7aecd6fcdb36191a8b430f25c6
2 * @file main/gui/main.cpp
3 * @brief The main eVaf GUI application class
5 * Copyright (c) 2011 Enar Vaikene
7 * This file is part of the eVaf C++ cross-platform application development framework.
9 * This file can be used under the terms of the GNU General Public License
10 * version 3.0 as published by the Free Software Foundation and appearing in
11 * the file LICENSE included in the packaging of this file. Please review the
12 * the following information to ensure the GNU General Public License version
13 * 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
15 * Alternatively, this file may be used in accordance with the Commercial License
16 * Agreement provided with the Software.
20 #include "exithandler.h"
22 #include "version_p.h"
26 #include "winconsole.h"
32 //-------------------------------------------------------------------
34 using namespace eVafGUI
;
36 Application::Application(int & argc
, char ** argv
)
37 : QApplication(argc
, argv
)
39 setObjectName(QString("%1-%2").arg(VER_MODULENAME_STR
).arg(__FUNCTION__
));
41 setWindowIcon(QIcon(":/eVafGUI/Icon"));
44 Application::~Application()
49 //-------------------------------------------------------------------
51 int main(int argc
, char ** argv
)
53 Application
app(argc
, argv
);