Warning, /pim/itinerary/src/kandroidextras/fake/qt6/QCoreApplication is written in an unsupported language. File is not indexed.
0001 /*
0002 SPDX-FileCopyrightText: 2022 Volker Krause <vkrause@kde.org>
0003 SPDX-License-Identifier: LGPL-2.0-or-later
0004 */
0005
0006 #ifndef KANDROIDEXTRAS_MOCK_QCOREAPPLICATION_H
0007 #define KANDROIDEXTRAS_MOCK_QCOREAPPLICATION_H
0008
0009 #include_next <QCoreApplication>
0010
0011 #include <QJniObject>
0012
0013 namespace QNativeInterface {
0014 namespace QAndroidApplication {
0015 inline QJniObject context()
0016 {
0017 QJniObject obj;
0018 obj.addToProtocol(QStringLiteral("global androidContext()"));
0019 return obj;
0020 }
0021 }
0022 }
0023
0024 #endif