Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qoffscreensurface_platform.h
Go to the documentation of this file.
1
// Copyright (C) 2020 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QOFFSCREENSURFACE_PLATFORM_H
6
#
define
QOFFSCREENSURFACE_PLATFORM_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is part of the native interface APIs. Usage of
13
// this API may make your code source and binary incompatible
14
// with future versions of Qt.
15
//
16
17
#
include
<
QtGui
/
qtguiglobal
.
h
>
18
#
include
<
QtGui
/
qoffscreensurface
.
h
>
19
#
include
<
QtCore
/
qnativeinterface
.
h
>
20
21
#
if
defined
(
Q_OS_ANDROID
)
22
struct
ANativeWindow;
23
#
endif
24
25
QT_BEGIN_NAMESPACE
26
27
namespace
QNativeInterface {
28
29
#
if
defined
(
Q_OS_ANDROID
)
||
defined
(
Q_QDOC
)
30
struct
Q_GUI_EXPORT QAndroidOffscreenSurface
31
{
32
QT_DECLARE_NATIVE_INTERFACE(QAndroidOffscreenSurface, 1, QOffscreenSurface)
33
static
QOffscreenSurface *fromNative(ANativeWindow *nativeSurface);
34
virtual
ANativeWindow *nativeSurface()
const
= 0;
35
};
36
#
endif
37
38
}
// QNativeInterface
39
40
QT_END_NAMESPACE
41
42
#
endif
// QOFFSCREENSURFACE_PLATFORM_H
qtbase
src
gui
kernel
qoffscreensurface_platform.h
Generated on
for Qt by
1.18.0