X-Git-Url: https://vaikene.ee/gitweb/gitweb.cgi?a=blobdiff_plain;f=src%2Fmain%2FGUI%2Fwinconsole.h;fp=src%2Fmain%2FGUI%2Fwinconsole.h;h=dc075b121a86ff4e99e111e889bbce3637537450;hb=4d81227da330c21c7aa0badc88bd5ad4467067fb;hp=0000000000000000000000000000000000000000;hpb=5815060246f84e8efdf3143b4e8c7d00778168cf;p=evaf diff --git a/src/main/GUI/winconsole.h b/src/main/GUI/winconsole.h new file mode 100644 index 0000000..dc075b1 --- /dev/null +++ b/src/main/GUI/winconsole.h @@ -0,0 +1,40 @@ +/** + * @file main/GUI/winconsole.h + * @brief Functions to redirect stdin, stdout and stderr to a separate console on Windows + * @author Enar Vaikene + * + * Copyright (c) 2011 Enar Vaikene + * + * This file is part of the eVaf C++ cross-platform application development framework. + * + * This file can be used under the terms of the GNU General Public License + * version 3.0 as published by the Free Software Foundation and appearing in + * the file LICENSE included in the packaging of this file. Please review the + * the following information to ensure the GNU General Public License version + * 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html. + * + * Alternatively, this file may be used in accordance with the Commercial License + * Agreement provided with the Software. + */ + +#ifndef __GUI_WINCONSOLE_H +# define __GUI_WINCONSOLE_H + +namespace eVaf { +namespace GUI { +namespace Internal { + +#ifdef Q_OS_WIN32 + +/** + * Enables the console window on Windows + */ +void enableWinConsole(); + +#endif + +} // namespace eVaf::GUI::Internal +} // namespace eVaf::GUI +} // namespace eVaf + +#endif