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