diff options
author | Hannu Lyytinen <hannu.lyytinen@nomovok.com> | 2012-04-11 09:41:21 +0300 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-11 12:42:37 +0200 |
commit | 89f6997e805e4bc94bea4aff592b5ae93aea8e85 (patch) | |
tree | aa081bc532fee92c4ed859521efca14a53e79cfe /src/plugins/platforms/kms/qkmsintegration.h | |
parent | 0cd818aa7a17567bf4f100444a938fe06c9f02f5 (diff) |
Add support for QPlatformNativeInterface.
Initial bits to enable figuring out the EGL display and context.
Change-Id: I4b578e356dceb40b4456f0590d32c8df1f51fa53
Reviewed-by: Andy Nichols <andy.nichols@nokia.com>
Diffstat (limited to 'src/plugins/platforms/kms/qkmsintegration.h')
-rw-r--r-- | src/plugins/platforms/kms/qkmsintegration.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/kms/qkmsintegration.h b/src/plugins/platforms/kms/qkmsintegration.h index 5724471295..96d030f849 100644 --- a/src/plugins/platforms/kms/qkmsintegration.h +++ b/src/plugins/platforms/kms/qkmsintegration.h @@ -43,6 +43,7 @@ #define QPLATFORMINTEGRATION_KMS_H #include <QtGui/QPlatformIntegration> +#include <QtGui/QPlatformNativeInterface> QT_BEGIN_NAMESPACE @@ -66,6 +67,8 @@ public: void addScreen(QKmsScreen *screen); + QPlatformNativeInterface *nativeInterface() const; + private: QStringList findDrmDevices(); @@ -73,6 +76,7 @@ private: QList<QKmsDevice *> m_devices; QPlatformFontDatabase *m_fontDatabase; QAbstractEventDispatcher *m_eventDispatcher; + QPlatformNativeInterface *m_nativeInterface; }; QT_END_NAMESPACE |