File indexing completed on 2024-04-28 16:55:43

0001 /*
0002  * SPDX-FileCopyrightText: 2020 Red Hat Inc
0003  *
0004  * SPDX-License-Identifier: LGPL-2.0-or-later
0005  *
0006  * SPDX-FileCopyrightText: 2020 Jan Grulich <jgrulich@redhat.com>
0007  */
0008 
0009 #ifndef XDG_DESKTOP_PORTAL_KDE_ACCOUNT_H
0010 #define XDG_DESKTOP_PORTAL_KDE_ACCOUNT_H
0011 
0012 #include <QDBusAbstractAdaptor>
0013 #include <QDBusObjectPath>
0014 
0015 class AccountPortal : public QDBusAbstractAdaptor
0016 {
0017     Q_OBJECT
0018     Q_CLASSINFO("D-Bus Interface", "org.freedesktop.impl.portal.Account")
0019 public:
0020     explicit AccountPortal(QObject *parent);
0021     ~AccountPortal() override;
0022 
0023 public Q_SLOTS:
0024     uint GetUserInformation(const QDBusObjectPath &handle, //
0025                             const QString &app_id,
0026                             const QString &parent_window,
0027                             const QVariantMap &options,
0028                             QVariantMap &results);
0029 };
0030 
0031 #endif // XDG_DESKTOP_PORTAL_KDE_ACCOUNT_H