summaryrefslogtreecommitdiff
path: root/transferengine-plugins/mastodonshareplugin/mastodonplugininfo.h
blob: 1d74b741b274204d1db5412a467a41678625bf8c (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
/*
 * Copyright (C) 2013-2026 Jolla Ltd.
 */

#ifndef MASTODONPLUGININFO_H
#define MASTODONPLUGININFO_H

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

class MastodonShareServiceStatus;

class MastodonPluginInfo : public SharingPluginInfo
{
    Q_OBJECT

public:
    MastodonPluginInfo();
    ~MastodonPluginInfo();

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

private Q_SLOTS:
    void serviceReady();

private:
    MastodonShareServiceStatus *m_mastodonShareServiceStatus;
    QList<SharingMethodInfo> m_info;
    QStringList m_capabilities;
};

#endif // MASTODONPLUGININFO_H