summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qt_xlib_wrapper.h
diff options
context:
space:
mode:
authorTarja Sundqvist <tarja.sundqvist@qt.io>2023-10-11 16:01:26 +0300
committerTarja Sundqvist <tarja.sundqvist@qt.io>2023-10-11 16:01:26 +0300
commit03294b37d76750b6100618ba4c172a688e826d46 (patch)
tree2e085e207907bba2dc83f44ccf3b2dfd0e2379eb /src/plugins/platforms/xcb/qt_xlib_wrapper.h
parentda6e958319e95fe564d3b30c931492dd666bfaff (diff)
parent1bf394a4c98c529844c896f8666412e5fcac8a7a (diff)
Merge remote-tracking branch 'origin/tqtc/lts-5.15.12' into tqtc/lts-5.15-opensource
Diffstat (limited to 'src/plugins/platforms/xcb/qt_xlib_wrapper.h')
-rw-r--r--src/plugins/platforms/xcb/qt_xlib_wrapper.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qt_xlib_wrapper.h b/src/plugins/platforms/xcb/qt_xlib_wrapper.h
new file mode 100644
index 0000000000..3f77068348
--- /dev/null
+++ b/src/plugins/platforms/xcb/qt_xlib_wrapper.h
@@ -0,0 +1,54 @@
+/****************************************************************************
+**
+** Copyright (C) 2022 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the plugins of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:COMM$
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** $QT_END_LICENSE$
+**
+**
+**
+**
+**
+**
+**
+**
+**
+**
+**
+**
+**
+**
+**
+**
+**
+**
+**
+******************************************************************************/
+
+#ifndef QT_XLIB_WRAPPER_H
+#define QT_XLIB_WRAPPER_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+ typedef struct _XDisplay Display;
+ void qt_XFlush(Display *dpy);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // QT_XLIB_WRAPPER_H