File indexing completed on 2024-12-22 04:33:56
0001 //SPDX-FileCopyrightText: 2015 Jolla Ltd. <valerio.valerio@jolla.com> 0002 //SPDX-FileContributor: Andres Gomez 0003 // 0004 //SPDX-License-Identifier: LGPL-2.1-or-later 0005 0006 0007 #ifndef MPRIS_PLUGIN_H 0008 #define MPRIS_PLUGIN_H 0009 0010 #include <QQmlExtensionPlugin> 0011 #include <QtGlobal> 0012 0013 0014 class MprisPlugin : public QQmlExtensionPlugin 0015 { 0016 Q_OBJECT 0017 Q_PLUGIN_METADATA(IID "org.nemomobile.mpris") 0018 0019 public: 0020 MprisPlugin(QObject *parent = 0); 0021 ~MprisPlugin(); 0022 0023 virtual void registerTypes(const char *uri) override; 0024 }; 0025 0026 0027 #endif /* MPRIS_PLUGIN_H */