summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformscreen_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qplatformscreen_p.h')
-rw-r--r--src/gui/kernel/qplatformscreen_p.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformscreen_p.h b/src/gui/kernel/qplatformscreen_p.h
index c47cee2746..f7c9d94154 100644
--- a/src/gui/kernel/qplatformscreen_p.h
+++ b/src/gui/kernel/qplatformscreen_p.h
@@ -24,6 +24,10 @@
#include <qwindowdefs_win.h>
#endif
+#if defined(Q_OS_UNIX)
+struct wl_output;
+#endif
+
QT_BEGIN_NAMESPACE
class QScreen;
@@ -80,6 +84,14 @@ struct Q_GUI_EXPORT QWindowsScreen
};
#endif
+#if defined(Q_OS_UNIX) || defined(Q_CLANG_QDOC)
+struct Q_GUI_EXPORT QWaylandScreen
+{
+ QT_DECLARE_NATIVE_INTERFACE(QWaylandScreen, 1, QScreen)
+ virtual wl_output *output() const = 0;
+};
+#endif
+
} // QNativeInterface::Private
QT_END_NAMESPACE