summaryrefslogtreecommitdiff
path: root/transferengine-plugins/fediverseshareplugin/fediverseplugininfo.h
blob: fdd8fc65c1bb0ddce9b5e0a056914082f243389b (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
30
31
32
33
34
35
/*
 * SPDX-FileCopyrightText: 2013 - 2026 Jolla Ltd.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef FEDIVERSEPLUGININFO_H
#define FEDIVERSEPLUGININFO_H

#include <sharingplugininfo.h>
#include <QStringList>

class FediverseShareServiceStatus;

class FediversePluginInfo : public SharingPluginInfo
{
    Q_OBJECT

public:
    FediversePluginInfo();
    ~FediversePluginInfo();

    QList<SharingMethodInfo> info() const;
    void query();

private Q_SLOTS:
    void serviceReady();

private:
    FediverseShareServiceStatus *m_fediverseShareServiceStatus;
    QList<SharingMethodInfo> m_info;
    QStringList m_capabilities;
};

#endif // FEDIVERSEPLUGININFO_H