Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qohoswantinfo_p.h
Go to the documentation of this file.
1// Copyright (C) 2025 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#ifndef QOHOSWANTINFO_P_H
5#define QOHOSWANTINFO_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtCore/qbytearray.h>
19#include <QtCore/qjsonobject.h>
20#include <QtCore/qlist.h>
21#include <QtCore/qmap.h>
22#include <QtCore/qobject.h>
23#include <QtCore/qsharedpointer.h>
24#include <QtCore/qstring.h>
25#include <QtCore/qvariant.h>
26#include <QtCore/private/qohoscommon_p.h>
27
28#include <optional>
29
30QT_BEGIN_NAMESPACE
31
32namespace QtHarmonyExtras::Private {
33
87
89
90void addNewWantConsumer(QObject *context, QOhosConsumer<QJsonObject> wantConsumer);
91
93 QObject *context,
94 QOhosConsumer<QSharedPointer<detail::WantInfoPriv>> wantConsumer);
95
96}
97
98QT_END_NAMESPACE
99
100#endif // QOHOSWANTINFO_P_H
virtual QJsonObject jsonObject() const =0
virtual std::optional< QList< SharedRecord > > tryGetSharedDataRecords() const =0
virtual std::optional< ContactInfo > tryGetContactInfo() const =0
virtual LaunchReason launchReason() const =0
void addNewWantConsumer(QObject *context, QOhosConsumer< QJsonObject > wantConsumer)
QSharedPointer< detail::WantInfoPriv > makeAppLaunchWantInfo()