File indexing completed on 2024-04-28 05:36:52
0001 /* 0002 * SPDX-License-Identifier: LGPL-2.0-or-later 0003 * 0004 * SPDX-FileCopyrightText: 2022 Aleix Pol <apol@kde.org> 0005 */ 0006 0007 #include <QDBusArgument> 0008 #include <QString> 0009 #include <QVariantMap> 0010 0011 struct RestoreData { 0012 static uint currentRestoreDataVersion() 0013 { 0014 return 1; 0015 } 0016 0017 QString session; 0018 quint32 version = 0; 0019 QVariantMap payload; 0020 }; 0021 0022 const QDBusArgument &operator<<(QDBusArgument &arg, const RestoreData &data); 0023 const QDBusArgument &operator>>(const QDBusArgument &arg, RestoreData &data); 0024 QDebug operator<<(QDebug dbg, const RestoreData &c); 0025 0026 Q_DECLARE_METATYPE(RestoreData)