File indexing completed on 2025-03-16 05:18:27
0001 /* 0002 * Copyright 2018 by Marco Martin <mart@kde.org> 0003 * Copyright 2018 David Edmundson <davidedmundson@kde.org> 0004 * Copyright 2018 Aditya Mehra <aix.m@outlook.com> 0005 * 0006 * Licensed under the Apache License, Version 2.0 (the "License"); 0007 * you may not use this file except in compliance with the License. 0008 * You may obtain a copy of the License at 0009 * 0010 * http://www.apache.org/licenses/LICENSE-2.0 0011 * 0012 * Unless required by applicable law or agreed to in writing, software 0013 * distributed under the License is distributed on an "AS IS" BASIS, 0014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 0015 * See the License for the specific language governing permissions and 0016 * limitations under the License. 0017 * 0018 */ 0019 0020 #ifndef MYCROFTPLUGIN_H 0021 #define MYCROFTPLUGIN_H 0022 0023 #include <QUrl> 0024 0025 #include <QQmlEngine> 0026 #include <QQmlExtensionPlugin> 0027 0028 class MycroftPlugin : public QQmlExtensionPlugin 0029 { 0030 Q_OBJECT 0031 Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") 0032 0033 public: 0034 void registerTypes(const char *uri) override; 0035 }; 0036 0037 #endif