summaryrefslogtreecommitdiff
path: root/transferengine-plugins/mastodonshareplugin/mastodonshareplugin.h
diff options
context:
space:
mode:
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