blob: f76228dc8a1e9c9bf86dea822b6f9588ab0f332d (
plain)
123456789101112131415161718192021222324252627 | // Copyright (C) 2016 The Qt Company Ltd.// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only#ifndef QGENERICPLUGIN_H#define QGENERICPLUGIN_H#include <QtGui/qtguiglobal.h>#include <QtCore/qplugin.h>#include <QtCore/qfactoryinterface.h> QT_BEGIN_NAMESPACE #define QGenericPluginFactoryInterface_iid"org.qt-project.Qt.QGenericPluginFactoryInterface"class Q_GUI_EXPORT QGenericPlugin :public QObject { Q_OBJECT public:explicitQGenericPlugin(QObject *parent =nullptr);~QGenericPlugin();virtual QObject*create(const QString& name,const QString &spec) =0;}; QT_END_NAMESPACE #endif// QGENERICPLUGIN_H
|