]>
vaikene.ee Git - evaf/blob - GUI/main.h
2 * @file main/GUI/main.h
3 * @brief The main eVaf GUI application class
6 * Copyright (c) 2011 Enar Vaikene
8 * This file is part of the eVaf C++ cross-platform application development framework.
10 * This file can be used under the terms of the GNU General Public License
11 * version 3.0 as published by the Free Software Foundation and appearing in
12 * the file LICENSE included in the packaging of this file. Please review the
13 * the following information to ensure the GNU General Public License version
14 * 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
16 * Alternatively, this file may be used in accordance with the Commercial License
17 * Agreement provided with the Software.
23 #include <QApplication>
29 * The main eVaf GUI application.
31 * eVafGUI is the main GUI executable. It provides an empty GUI application
32 * that is used to load other eVaf modules.
37 * Internal implementation of the main eVaf GUI application.
40 } // namespace eVaf::GUI::Internal
43 * The main eVaf GUI application class.
45 class Application
: public QApplication
51 Application(int & argc
, char ** argv
);
53 virtual ~Application();
56 public: // Static methods
59 * Processes command-line arguments
60 * @param argc Number of command-line arguments
61 * @param argv List of command-line arguments
62 * @return True if ok; false if the application should terminate
64 * This function processes command-line arguments and should be called before running
67 static bool processCommandLine(int argc
, char ** argv
);
70 * Prints out help for command-line arguments.
72 static void printHelp();
75 * Prints out help for Qt command-line arguments.
77 static void printQtHelp();
80 * Prints out version information.
82 static void printVersion();
86 } // namespace eVaf::GUI