blob: 2373f2ebd21b7b62c751c5a729ab14b0f06f52b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright (C) 2021 The Qt Company Ltd.
// Copyright (C) 2019 Luxoft Sweden AB
// Copyright (C) 2018 Pelagicore AG
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#pragma once
#include <QtAppManCommon/global.h>
#include <QVariant>
#if defined(QT_DBUS_LIB)
# include <QDBusUnixFileDescriptor>
QT_BEGIN_NAMESPACE_AM
typedef QMap<QString, QDBusUnixFileDescriptor> UnixFdMap;
QT_END_NAMESPACE_AM
Q_DECLARE_METATYPE(QT_PREPEND_NAMESPACE_AM(UnixFdMap))
#endif
QT_BEGIN_NAMESPACE_AM
QVariant convertFromJSVariant(const QVariant &variant);
QVariant convertFromDBusVariant(const QVariant &variant);
void registerDBusTypes();
QT_END_NAMESPACE_AM
|