Changeset View
Changeset View
Standalone View
Standalone View
platform.h
Show All 15 Lines | |||||
16 | 16 | | |||
17 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License | ||
18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | *********************************************************************/ | 19 | *********************************************************************/ | ||
20 | #ifndef KWIN_PLATFORM_H | 20 | #ifndef KWIN_PLATFORM_H | ||
21 | #define KWIN_PLATFORM_H | 21 | #define KWIN_PLATFORM_H | ||
22 | #include <kwin_export.h> | 22 | #include <kwin_export.h> | ||
23 | #include <kwinglobals.h> | 23 | #include <kwinglobals.h> | ||
24 | #include <epoxy/egl.h> | 24 | #include <epoxy/egl.h> | ||
25 | #include "fixqopengl.h" | ||||
26 | | ||||
25 | #include <fixx11h.h> | 27 | #include <fixx11h.h> | ||
graesslin: Instead of copy pasting this all over the place: let's add one header file which does the epoxy… | |||||
26 | #include <QImage> | 28 | #include <QImage> | ||
27 | #include <QObject> | 29 | #include <QObject> | ||
please also this one through the new header. Just move it into the main directory, then you can access it from everywhere. graesslin: please also this one through the new header. Just move it into the main directory, then you can… | |||||
28 | 30 | | |||
29 | #include <functional> | 31 | #include <functional> | ||
30 | 32 | | |||
31 | class QAction; | 33 | class QAction; | ||
32 | 34 | | |||
33 | namespace KWayland { | 35 | namespace KWayland { | ||
34 | namespace Server { | 36 | namespace Server { | ||
35 | class OutputConfigurationInterface; | 37 | class OutputConfigurationInterface; | ||
▲ Show 20 Lines • Show All 493 Lines • Show Last 20 Lines |
Instead of copy pasting this all over the place: let's add one header file which does the epoxy include and the ifdef mess.