/* SPDX-FileCopyrightText: 2014 Ivan Cukic SPDX-License-Identifier: LGPL-2.0-or-later */ #include "activityswitcherextensionplugin.h" #include #include "switcherbackend.h" ActivitySwitcherExtensionPlugin::ActivitySwitcherExtensionPlugin(QObject *parent) : QQmlExtensionPlugin(parent) { } void ActivitySwitcherExtensionPlugin::registerTypes(const char *uri) { Q_ASSERT(QLatin1String(uri) == QLatin1String("org.kde.plasma.activityswitcher")); qmlRegisterSingletonType(uri, 1, 0, "Backend", SwitcherBackend::instance); }