summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qt_xlib_wrapper.h
diff options
context:
space:
mode:
authorTarja Sundqvist <tarja.sundqvist@qt.io>2023-10-03 13:47:19 +0300
committerTarja Sundqvist <tarja.sundqvist@qt.io>2023-10-03 13:47:19 +0300
commit8a5f6c7f81eef21db425038b213e84dd25ed336d (patch)
treed3bb5fa3079fb7a35e641164941b70c435e1d48b /src/plugins/platforms/xcb/qt_xlib_wrapper.h
parent4ad98906e9931b50a51080a7880951a173c4c3f9 (diff)
parent938cdd2629732988bb815b5ceb14dab4563311d7 (diff)
Merge remote-tracking branch 'origin/tqtc/lts-6.2.7' into tqtc/lts-6.2-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