| 1 | /* |
| 2 | * File: main.cpp |
| 3 | * |
| 4 | * Author: Jacob Dekel |
| 5 | * Created on: Aug 7, 2009 |
| 6 | * |
| 7 | * Copyright (c) 2009-2013 Jacob Dekel |
| 8 | * $Id$ |
| 9 | * |
| 10 | * This program is free software: you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by |
| 12 | * the Free Software Foundation, either version 3 of the License, or |
| 13 | * (at your option) any later version. |
| 14 | * |
| 15 | * This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
| 19 | * |
| 20 | * You should have received a copy of the GNU General Public License |
| 21 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 22 | */ |
| 23 | |
| 24 | #include "MainWindow.h"cxx . . $ `<file>/HercStudio/MainWindow.h`/ |
| 25 | #include "MainPanel.h"cxx . . $ `<file>/HercStudio/MainPanel.h`/ |
| 26 | #include "Arguments.h"cxx . . $ `<file>/HercStudio/Arguments.h`/ |
| 27 | |
| 28 | |
| 29 | #include <QtGui> |
| 30 | #include <QApplication> |
| 31 | |
| 32 | int maincxx . . $ main(afcd3168fc1188a4).(int argc, char *argv[]) |
| 33 | { |
| 34 | Argumentscxx . . $ Arguments#::getInstancecxx . . $ Arguments#getInstance(86e8a5b8d0f95c3c).().parsecxx . . $ Arguments#parse(afcd3168fc1188a4).(argc, argv); |
| 35 | if (Argumentscxx . . $ Arguments#::getInstancecxx . . $ Arguments#getInstance(86e8a5b8d0f95c3c).().helpRequestedcxx . . $ Arguments#helpRequested(50ce9a9e25b4a850).()) |
| 36 | { |
| 37 | Argumentscxx . . $ Arguments#::getInstancecxx . . $ Arguments#getInstance(86e8a5b8d0f95c3c).().printUsagecxx . . $ Arguments#printUsage(49f6e7a06ebc5aa8).(); |
| 38 | return 1; |
| 39 | } |
| 40 | |
| 41 | QApplicationcxx . . $ QApplication# acxx . . $ QApplication#QApplication(6e9b1c7df49e191d).(argc, argv); |
| 42 | a.setAttributecxx . . $ QCoreApplication#setAttribute(5f5acd6019f3e3ca).(Qtcxx . . $ Qt/::AA_DontShowIconsInMenuscxx . . $ Qt/AA_DontShowIconsInMenus., false); |
| 43 | |
| 44 | MainWindowcxx . . $ MainWindow# wcxx . . $ MainWindow#MainWindow(108f35f7aa7f3cf9).; |
| 45 | |
| 46 | w.showcxx . . $ QWidget#show(49f6e7a06ebc5aa8).(); |
| 47 | return a.execcxx . . $ QApplication#exec(b126dc7c1de90089).(); |
| 48 | } |