2018-02-27 18:06:05 +01:00
|
|
|
#ifndef DBUS_METATYPES_H
|
|
|
|
#define DBUS_METATYPES_H
|
|
|
|
|
|
|
|
#include <QMetaType>
|
2018-05-01 00:41:33 +02:00
|
|
|
#include <QByteArray>
|
2023-03-18 19:41:36 +01:00
|
|
|
#include <QByteArrayList>
|
2018-05-01 00:41:33 +02:00
|
|
|
#include <QMap>
|
|
|
|
#include <QString>
|
2018-02-27 18:06:05 +01:00
|
|
|
#include <QDBusObjectPath>
|
|
|
|
|
2023-03-18 19:41:36 +01:00
|
|
|
Q_DECLARE_METATYPE(QByteArrayList)
|
2018-02-27 18:06:05 +01:00
|
|
|
|
2022-10-13 22:39:31 +02:00
|
|
|
using InterfacesAndProperties = QMap<QString, QVariantMap>;
|
|
|
|
using ManagedObjectList = QMap<QDBusObjectPath, InterfacesAndProperties>;
|
2018-02-27 18:06:05 +01:00
|
|
|
|
|
|
|
Q_DECLARE_METATYPE(InterfacesAndProperties)
|
|
|
|
Q_DECLARE_METATYPE(ManagedObjectList)
|
|
|
|
|
|
|
|
#endif // DBUS_METATYPES_H_
|