From 4351f4627ba9e71775438dd26c9acddd002c7e11 Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Tue, 10 Feb 2026 10:41:02 +0100 Subject: Initial commit --- .../mastodonshareplugin/mastodonplugininfo.h | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 transferengine-plugins/mastodonshareplugin/mastodonplugininfo.h (limited to 'transferengine-plugins/mastodonshareplugin/mastodonplugininfo.h') diff --git a/transferengine-plugins/mastodonshareplugin/mastodonplugininfo.h b/transferengine-plugins/mastodonshareplugin/mastodonplugininfo.h new file mode 100644 index 0000000..28eb479 --- /dev/null +++ b/transferengine-plugins/mastodonshareplugin/mastodonplugininfo.h @@ -0,0 +1,29 @@ +#ifndef MASTODONPLUGININFO_H +#define MASTODONPLUGININFO_H + +#include +#include + +class MastodonShareServiceStatus; + +class MastodonPluginInfo : public SharingPluginInfo +{ + Q_OBJECT + +public: + MastodonPluginInfo(); + ~MastodonPluginInfo(); + + QList info() const; + void query(); + +private Q_SLOTS: + void serviceReady(); + +private: + MastodonShareServiceStatus *m_mastodonShareServiceStatus; + QList m_info; + QStringList m_capabilities; +}; + +#endif // MASTODONPLUGININFO_H -- cgit v1.2.3