1// Copyright (C) 2016 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
4#include "qxcbnativeinterfacehandler.h"
5
6#include "qxcbnativeinterface.h"
7
8QT_BEGIN_NAMESPACE
9
10QXcbNativeInterfaceHandler::QXcbNativeInterfaceHandler(QXcbNativeInterface *nativeInterface)
11 : m_native_interface(nativeInterface)
12{
13 m_native_interface->addHandler(handler: this);
14}
15QXcbNativeInterfaceHandler::~QXcbNativeInterfaceHandler()
16{
17 m_native_interface->removeHandler(handler: this);
18}
19
20QPlatformNativeInterface::NativeResourceForIntegrationFunction QXcbNativeInterfaceHandler::nativeResourceFunctionForIntegration(const QByteArray &resource) const
21{
22 Q_UNUSED(resource);
23 return nullptr;
24}
25
26QPlatformNativeInterface::NativeResourceForContextFunction QXcbNativeInterfaceHandler::nativeResourceFunctionForContext(const QByteArray &resource) const
27{
28 Q_UNUSED(resource);
29 return nullptr;
30}
31
32QPlatformNativeInterface::NativeResourceForScreenFunction QXcbNativeInterfaceHandler::nativeResourceFunctionForScreen(const QByteArray &resource) const
33{
34 Q_UNUSED(resource);
35 return nullptr;
36}
37
38QPlatformNativeInterface::NativeResourceForWindowFunction QXcbNativeInterfaceHandler::nativeResourceFunctionForWindow(const QByteArray &resource) const
39{
40 Q_UNUSED(resource);
41 return nullptr;
42}
43
44QPlatformNativeInterface::NativeResourceForBackingStoreFunction QXcbNativeInterfaceHandler::nativeResourceFunctionForBackingStore(const QByteArray &resource) const
45{
46 Q_UNUSED(resource);
47 return nullptr;
48}
49
50QFunctionPointer QXcbNativeInterfaceHandler::platformFunction(const QByteArray &function) const
51{
52 Q_UNUSED(function);
53 return nullptr;
54}
55
56QT_END_NAMESPACE
57

source code of qtbase/src/plugins/platforms/xcb/gl_integrations/qxcbnativeinterfacehandler.cpp