Warning, file /include/QtGui/qoffscreensurface_platform.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004 #ifndef QOFFSCREENSURFACE_PLATFORM_H
0005 #define QOFFSCREENSURFACE_PLATFORM_H
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include <QtGui/qtguiglobal.h>
0017 #include <QtGui/qoffscreensurface.h>
0018 #include <QtCore/qnativeinterface.h>
0019
0020 #if defined(Q_OS_ANDROID)
0021 struct ANativeWindow;
0022 #endif
0023
0024 QT_BEGIN_NAMESPACE
0025
0026 namespace QNativeInterface {
0027
0028 #if defined(Q_OS_ANDROID) || defined(Q_QDOC)
0029 struct Q_GUI_EXPORT QAndroidOffscreenSurface
0030 {
0031 QT_DECLARE_NATIVE_INTERFACE(QAndroidOffscreenSurface, 1, QOffscreenSurface)
0032 static QOffscreenSurface *fromNative(ANativeWindow *nativeSurface);
0033 virtual ANativeWindow *nativeSurface() const = 0;
0034 };
0035 #endif
0036
0037 }
0038
0039 QT_END_NAMESPACE
0040
0041 #endif