summaryrefslogtreecommitdiff
path: root/transferengine-plugins/mastodonshareplugin/mastodonshareplugin.cpp
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.cpp
Initial commit
Diffstat (limited to 'transferengine-plugins/mastodonshareplugin/mastodonshareplugin.cpp')
-rw-r--r--transferengine-plugins/mastodonshareplugin/mastodonshareplugin.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/transferengine-plugins/mastodonshareplugin/mastodonshareplugin.cpp b/transferengine-plugins/mastodonshareplugin/mastodonshareplugin.cpp
new file mode 100644
index 0000000..ec7a732
--- /dev/null
+++ b/transferengine-plugins/mastodonshareplugin/mastodonshareplugin.cpp
@@ -0,0 +1,23 @@
+#include "mastodonshareplugin.h"
+#include "mastodonplugininfo.h"
+
+#include <QtPlugin>
+
+MastodonSharePlugin::MastodonSharePlugin()
+ : QObject(), SharingPluginInterface()
+{
+}
+
+MastodonSharePlugin::~MastodonSharePlugin()
+{
+}
+
+SharingPluginInfo *MastodonSharePlugin::infoObject()
+{
+ return new MastodonPluginInfo;
+}
+
+QString MastodonSharePlugin::pluginId() const
+{
+ return QLatin1String("Mastodon");
+}