summaryrefslogtreecommitdiff
path: root/transferengine-plugins/mastodonshareplugin/mastodonshareplugin.h
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@jolla.com>2026-02-10 10:41:02 +0100
committerAndrew Branson <andrew.branson@jolla.com>2026-02-10 17:09:39 +0100
commit4351f4627ba9e71775438dd26c9acddd002c7e11 (patch)
tree3c72c980c5c81507109087bda67052b7ec8216b6 /transferengine-plugins/mastodonshareplugin/mastodonshareplugin.h
Initial commit
Diffstat (limited to 'transferengine-plugins/mastodonshareplugin/mastodonshareplugin.h')
-rw-r--r--transferengine-plugins/mastodonshareplugin/mastodonshareplugin.h22
1 files changed, 22 insertions, 0 deletions
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 <QtCore/QObject>
+
+#include <sharingplugininterface.h>
+
+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