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/mastodonshareplugin.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 transferengine-plugins/mastodonshareplugin/mastodonshareplugin.h (limited to 'transferengine-plugins/mastodonshareplugin/mastodonshareplugin.h') diff --git a/transferengine-plugins/mastodonshareplugin/mastodonshareplugin.h b/transferengine-plugins/mastodonshareplugin/mastodonshareplugin.h new file mode 100644 index 0000000..634d051 --- /dev/null +++ b/transferengine-plugins/mastodonshareplugin/mastodonshareplugin.h @@ -0,0 +1,22 @@ +#ifndef MASTODONSHAREPLUGIN_H +#define MASTODONSHAREPLUGIN_H + +#include + +#include + +class Q_DECL_EXPORT MastodonSharePlugin : public QObject, public SharingPluginInterface +{ + Q_OBJECT + Q_PLUGIN_METADATA(IID "org.sailfishos.share.plugin.mastodon") + Q_INTERFACES(SharingPluginInterface) + +public: + MastodonSharePlugin(); + ~MastodonSharePlugin(); + + SharingPluginInfo *infoObject(); + QString pluginId() const; +}; + +#endif // MASTODONSHAREPLUGIN_H -- cgit v1.2.3