File indexing completed on 2024-04-28 04:38:55

0001 /*
0002     SPDX-FileCopyrightText: 2003, 2006 Adam Treat <treat@kde.org>
0003     SPDX-FileCopyrightText: 2007 Andreas Pakulat <apaku@gmx.de>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #ifndef KDEVPLATFORM_PLUGIN_KDEVKONSOLEVIEWPLUGIN_H
0009 #define KDEVPLATFORM_PLUGIN_KDEVKONSOLEVIEWPLUGIN_H
0010 
0011 #include <interfaces/iplugin.h>
0012 
0013 #include <QVariant>
0014 
0015 class KDevKonsoleViewFactory;
0016 class KPluginFactory;
0017 
0018 class KDevKonsoleViewPlugin : public KDevelop::IPlugin
0019 {
0020     Q_OBJECT
0021 
0022 public:
0023     KDevKonsoleViewPlugin(QObject* parent, const QVariantList& = QVariantList());
0024     ~KDevKonsoleViewPlugin() override;
0025 
0026     void unload() override;
0027 
0028     KPluginFactory* konsoleFactory() const;
0029 
0030 private:
0031     KPluginFactory* m_konsoleFactory = nullptr;
0032     KDevKonsoleViewFactory* m_viewFactory = nullptr;
0033 };
0034 
0035 #endif
0036