Messagelib

networkurlinterceptorpluginmanager.h
1 /*
2  SPDX-FileCopyrightText: 2016-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "webengineviewer_export.h"
10 #include <PimCommon/PluginUtil>
11 #include <QObject>
12 #include <QVector>
13 namespace WebEngineViewer
14 {
15 class NetworkUrlInterceptorPluginManagerPrivate;
16 class NetworkPluginUrlInterceptor;
17 /**
18  * @brief The NetworkUrlInterceptorPluginManager class
19  * @author Laurent Montel <[email protected]>
20  */
21 class WEBENGINEVIEWER_EXPORT NetworkUrlInterceptorPluginManager : public QObject
22 {
23  Q_OBJECT
24 public:
26  explicit NetworkUrlInterceptorPluginManager(QObject *parent = nullptr);
27  ~NetworkUrlInterceptorPluginManager() override;
28 
29  Q_REQUIRED_RESULT QVector<WebEngineViewer::NetworkPluginUrlInterceptor *> pluginsList() const;
30  Q_REQUIRED_RESULT QString configGroupName() const;
31  Q_REQUIRED_RESULT QString configPrefixSettingKey() const;
32  Q_REQUIRED_RESULT QVector<PimCommon::PluginUtilData> pluginsDataList() const;
33  Q_REQUIRED_RESULT WebEngineViewer::NetworkPluginUrlInterceptor *pluginFromIdentifier(const QString &id);
34 
35 private:
36  std::unique_ptr<NetworkUrlInterceptorPluginManagerPrivate> const d;
37 };
38 }
39 
The NetworkPluginUrlInterceptor class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Dec 5 2021 23:04:54 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.