diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2012-11-19 13:36:30 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-19 17:12:58 +0100 |
commit | e8c677a9305f9485d65135eb59ca5b63c2106287 (patch) | |
tree | f9108c25d68e0600cff7b5280b7613661b84e4fd /src/gui/kernel/qplatformnativeinterface.h | |
parent | df3631045c35aaed0b9de4ae5e643c8019972d13 (diff) |
Add QPlatformNativeInterface::nativeResourceForScreen().
Task-number: QTBUG-5416
Change-Id: Ic163a5ff1c7a06869d324acb9aa7c257a0262e72
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src/gui/kernel/qplatformnativeinterface.h')
-rw-r--r-- | src/gui/kernel/qplatformnativeinterface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformnativeinterface.h b/src/gui/kernel/qplatformnativeinterface.h index 97b36274e8..cbf997bec4 100644 --- a/src/gui/kernel/qplatformnativeinterface.h +++ b/src/gui/kernel/qplatformnativeinterface.h @@ -61,6 +61,7 @@ QT_BEGIN_NAMESPACE class QOpenGLContext; +class QScreen; class QWindow; class QPlatformWindow; class QBackingStore; @@ -71,6 +72,7 @@ class Q_GUI_EXPORT QPlatformNativeInterface : public QObject public: virtual void *nativeResourceForIntegration(const QByteArray &resource); virtual void *nativeResourceForContext(const QByteArray &resource, QOpenGLContext *context); + virtual void *nativeResourceForScreen(const QByteArray &resource, QScreen *screen); virtual void *nativeResourceForWindow(const QByteArray &resource, QWindow *window); virtual void *nativeResourceForBackingStore(const QByteArray &resource, QBackingStore *backingStore); |