File indexing completed on 2024-12-22 05:15:24

0001 /*
0002     SPDX-FileCopyrightText: 2022 Bharadwaj Raju <bharadwaj.raju777@protonmail.com>
0003 
0004     SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005 */
0006 
0007 #include "mediacontrollerplugin.h"
0008 #include "globalconfig.h"
0009 
0010 #include <QQmlEngine>
0011 
0012 void MediaControllerPlugin::registerTypes(const char *uri)
0013 {
0014     Q_ASSERT(uri == QLatin1String("org.kde.plasma.private.mediacontroller"));
0015 
0016     qmlRegisterType<GlobalConfig>(uri, 1, 0, "GlobalConfig");
0017 }