diff options
| author | Andrew Branson <andrew.branson@jolla.com> | 2026-04-03 22:55:30 +0200 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@jolla.com> | 2026-04-04 11:55:25 +0200 |
| commit | a35c9fa159173388d88ef77e1d31f53488aad094 (patch) | |
| tree | e4691b5bbf054ca13e35d98d9df653bf9cdc0054 /transferengine-plugins/fediverseshareplugin/fediverseplugininfo.h | |
| parent | 5f999f7a4712c4a4d1c89054b544064cfd4b769e (diff) | |
Generalize for all fediverse accounts
Diffstat (limited to 'transferengine-plugins/fediverseshareplugin/fediverseplugininfo.h')
| -rw-r--r-- | transferengine-plugins/fediverseshareplugin/fediverseplugininfo.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/transferengine-plugins/fediverseshareplugin/fediverseplugininfo.h b/transferengine-plugins/fediverseshareplugin/fediverseplugininfo.h new file mode 100644 index 0000000..fdd8fc6 --- /dev/null +++ b/transferengine-plugins/fediverseshareplugin/fediverseplugininfo.h @@ -0,0 +1,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 |
