]> vaikene.ee Git - evaf/blob - src/main/GUI/winconsole.h
More work on the common library and the main GUI application.
[evaf] / src / main / GUI / winconsole.h
1 /**
2 * @file main/GUI/winconsole.h
3 * @brief Functions to redirect stdin, stdout and stderr to a separate console on Windows
4 * @author Enar Vaikene
5 *
6 * Copyright (c) 2011 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_WINCONSOLE_H
21 # define __GUI_WINCONSOLE_H
22
23 namespace eVaf {
24 namespace GUI {
25 namespace Internal {
26
27 #ifdef Q_OS_WIN32
28
29 /**
30 * Enables the console window on Windows
31 */
32 void enableWinConsole();
33
34 #endif
35
36 } // namespace eVaf::GUI::Internal
37 } // namespace eVaf::GUI
38 } // namespace eVaf
39
40 #endif