2012-05-14 18:37:22 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2012 by Marco Martin <mart@kde.org>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
2012-10-03 09:32:42 +00:00
|
|
|
* it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2,
|
|
|
|
* or (at your option) any later version.
|
2012-05-14 18:37:22 +00:00
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2012-10-03 09:32:42 +00:00
|
|
|
* GNU General Public License for more details
|
2012-05-14 18:37:22 +00:00
|
|
|
*
|
2012-10-03 09:32:42 +00:00
|
|
|
* You should have received a copy of the GNU General Public
|
2012-05-14 18:37:22 +00:00
|
|
|
* License along with this program; if not, write to the
|
|
|
|
* Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef OKULARPLUGIN
|
|
|
|
#define OKULARPLUGIN
|
|
|
|
|
2014-12-02 19:41:16 +00:00
|
|
|
#include <QQmlExtensionPlugin>
|
2012-05-14 18:37:22 +00:00
|
|
|
|
|
|
|
|
2014-12-02 19:41:16 +00:00
|
|
|
class OkularPlugin : public QQmlExtensionPlugin
|
2012-05-14 18:37:22 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
2014-12-02 19:41:16 +00:00
|
|
|
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
|
2012-05-14 18:37:22 +00:00
|
|
|
|
|
|
|
public:
|
2017-03-02 19:38:50 +00:00
|
|
|
void registerTypes(const char *uri) override;
|
2012-05-14 18:37:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|