File indexing completed on 2025-01-19 04:52:03

0001 /*
0002     Copyright (c) 2016 Michael Bohlender <michael.bohlender@kdemail.net>
0003     Copyright (c) 2016 Christian Mollekopf <mollekopf@kolabsys.com>
0004 
0005     This library is free software; you can redistribute it and/or modify it
0006     under the terms of the GNU Library General Public License as published by
0007     the Free Software Foundation; either version 2 of the License, or (at your
0008     option) any later version.
0009 
0010     This library is distributed in the hope that it will be useful, but WITHOUT
0011     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0012     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
0013     License for more details.
0014 
0015     You should have received a copy of the GNU Library General Public License
0016     along with this library; see the file COPYING.LIB.  If not, write to the
0017     Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
0018     02110-1301, USA.
0019 */
0020 
0021 #pragma once
0022 
0023 #include <QQmlEngine>
0024 #include <QQmlExtensionPlugin>
0025 
0026 class FrameworkPlugin : public QQmlExtensionPlugin
0027 {
0028     Q_OBJECT
0029     Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
0030 
0031 public:
0032     void registerTypes(const char *uri) Q_DECL_OVERRIDE;
0033     void initializeEngine(QQmlEngine *engine, const char *uri) Q_DECL_OVERRIDE;
0034 };