summaryrefslogtreecommitdiff
path: root/transferengine-plugins/mastodonshareplugin/mastodonshareplugin.cpp
diff options
context:
space:
mode:
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");
+}