]> vaikene.ee Git - evaf/blob - src/main/GUI/exithandler.h
Warning fixes and copyright update.
[evaf] / src / main / GUI / exithandler.h
1 /**
2 * @file main/GUI/exithandler.h
3 * @brief Exit handlers for the eVaf main executable
4 * @author Enar Vaikene
5 *
6 * Copyright (c) 2011-2019 Enar Vaikene
7 *
8 * This file is part of the eVaf C++ cross-platform application development framework.
9 *
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.
15 *
16 * Alternatively, this file may be used in accordance with the Commercial License
17 * Agreement provided with the Software.
18 */
19
20 #ifndef __GUI_EXITHANDLER_H
21 # define __GUI_EXITHANDLER_H
22
23 namespace eVaf {
24 namespace GUI {
25 namespace Internal {
26
27 /**
28 * Installs an exit handler for the selected platform.
29 *
30 * Exit handler quits or restarts the application when a corresponding signal
31 * is received.
32 */
33 bool installExitHandler();
34
35 } // namespace eVaf::GUI::Internal
36 } // namespace eVaf::GUI
37 } // namespace eVaf
38
39 #endif // exithandler.h