File indexing completed on 2024-05-05 04:39:44

0001 /*
0002     SPDX-FileCopyrightText: 2005 Adam Treat <treat@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef KDEVPLATFORM_PLUGIN_KDEVDOCUMENTVIEWPLUGIN_H
0008 #define KDEVPLATFORM_PLUGIN_KDEVDOCUMENTVIEWPLUGIN_H
0009 
0010 #include <interfaces/iplugin.h>
0011 
0012 class KDevDocumentViewPluginFactory;
0013 
0014 class KDevDocumentViewPlugin: public KDevelop::IPlugin
0015 {
0016     Q_OBJECT
0017 public:
0018     enum RefreshPolicy
0019     {
0020         Refresh,
0021         NoRefresh,
0022         ForceRefresh
0023     };
0024 
0025 public:
0026     KDevDocumentViewPlugin( QObject *parent, const QVariantList& args );
0027     ~KDevDocumentViewPlugin() override;
0028     void unload() override;
0029 
0030 private:
0031     KDevDocumentViewPluginFactory* factory;
0032 };
0033 
0034 #endif
0035