summaryrefslogtreecommitdiff
path: root/eventsview-plugins/eventsview-plugin-mastodon/plugin.cpp
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@jolla.com>2026-04-03 22:55:30 +0200
committerAndrew Branson <andrew.branson@jolla.com>2026-04-04 11:55:25 +0200
commita35c9fa159173388d88ef77e1d31f53488aad094 (patch)
treee4691b5bbf054ca13e35d98d9df653bf9cdc0054 /eventsview-plugins/eventsview-plugin-mastodon/plugin.cpp
parent5f999f7a4712c4a4d1c89054b544064cfd4b769e (diff)
Generalize for all fediverse accounts
Diffstat (limited to 'eventsview-plugins/eventsview-plugin-mastodon/plugin.cpp')
-rw-r--r--eventsview-plugins/eventsview-plugin-mastodon/plugin.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/eventsview-plugins/eventsview-plugin-mastodon/plugin.cpp b/eventsview-plugins/eventsview-plugin-mastodon/plugin.cpp
deleted file mode 100644
index 9ade6e2..0000000
--- a/eventsview-plugins/eventsview-plugin-mastodon/plugin.cpp
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * SPDX-FileCopyrightText: 2013 - 2026 Jolla Ltd.
- *
- * SPDX-License-Identifier: BSD-3-Clause
- */
-
-#include <QQmlExtensionPlugin>
-#include <QtQml>
-
-#include "mastodonpostactions.h"
-#include "mastodonpostsmodel.h"
-
-class JollaEventsviewMastodonPlugin : public QQmlExtensionPlugin
-{
- Q_OBJECT
- Q_PLUGIN_METADATA(IID "com.jolla.eventsview.mastodon")
-
-public:
- void registerTypes(const char *uri) override
- {
- Q_ASSERT(QLatin1String(uri) == QLatin1String("com.jolla.eventsview.mastodon"));
- qmlRegisterType<MastodonPostsModel>(uri, 1, 0, "MastodonPostsModel");
- qmlRegisterType<MastodonPostActions>(uri, 1, 0, "MastodonPostActions");
- }
-};
-
-#include "plugin.moc"