OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4ConsoleQt.h
Go to the documentation of this file.
1 /*
2  * OpenClonk, http://www.openclonk.org
3  *
4  * Copyright (c) 2001-2009, RedWolf Design GmbH, http://www.clonk.de/
5  * Copyright (c) 2013, The OpenClonk Team and contributors
6  *
7  * Distributed under the terms of the ISC license; see accompanying file
8  * "COPYING" for details.
9  *
10  * "Clonk" is a registered trademark of Matthes Bender, used with permission.
11  * See accompanying file "TRADEMARK" for details.
12  *
13  * To redistribute this file separately, substitute the full license texts
14  * for the above references.
15  */
16 
17 /* Console forward from C4ConsoleGUI to C4ConsoleGUI::State */
18 
19 #ifndef INC_C4ConsoleQt
20 #define INC_C4ConsoleQt
21 
22 #ifdef WITH_QT_EDITOR
23 
24 // Avoid some name conflicts
25 #undef LineFeed
26 #undef new
27 #undef delete
28 // disable OPENGL_ES
29 // (not necessery if Qt is compiled with -opengl desktop)
30 //#define QT_OPENGL_ES_2
31 //#define QT_NO_OPENGL_ES_2
32 //#define QT_OPENGL_ES
33 //#define QT_NO_OPENGL_ES
34 #include <QtWidgets>
35 #include <qabstractitemmodel.h>
36 #include <QAbstractTableModel>
37 #include <memory>
38 
39 // TODO: If we remove the other editors, state and consolegui can be merged and the relevant header go into this file
40 // For now, just use this to include Qt
41 
42 #endif // WITH_QT_EDITOR
43 
44 
45 #endif //INC_C4ConsoleQt