5#ifndef QOFFSCREENSURFACE_PLATFORM_H
6#define QOFFSCREENSURFACE_PLATFORM_H
17#include <QtGui/qtguiglobal.h>
18#include <QtGui/qoffscreensurface.h>
19#include <QtCore/qnativeinterface.h>
21#if defined(Q_OS_ANDROID)
27namespace QNativeInterface {
29#if defined(Q_OS_ANDROID) || defined(Q_QDOC)
30struct Q_GUI_EXPORT QAndroidOffscreenSurface
32 QT_DECLARE_NATIVE_INTERFACE(QAndroidOffscreenSurface, 1, QOffscreenSurface)
33 static QOffscreenSurface *fromNative(ANativeWindow *nativeSurface);
34 virtual ANativeWindow *nativeSurface()
const = 0;