Messagelib

networkurlinterceptorpluginmanager.h
1 /*
2  SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
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 <QList>
12 #include <QObject>
13 namespace WebEngineViewer
14 {
15 class NetworkUrlInterceptorPluginManagerPrivate;
16 class NetworkPluginUrlInterceptor;
17 /**
18  * @brief The NetworkUrlInterceptorPluginManager class
19  * @author Laurent Montel <montel@kde.org>
20  */
21 class WEBENGINEVIEWER_EXPORT NetworkUrlInterceptorPluginManager : public QObject
22 {
23  Q_OBJECT
24 public:
26  explicit NetworkUrlInterceptorPluginManager(QObject *parent = nullptr);
28 
29  [[nodiscard]] QList<WebEngineViewer::NetworkPluginUrlInterceptor *> pluginsList() const;
30  [[nodiscard]] QString configGroupName() const;
31  [[nodiscard]] QString configPrefixSettingKey() const;
32  [[nodiscard]] QList<PimCommon::PluginUtilData> pluginsDataList() const;
33  [[nodiscard]] WebEngineViewer::NetworkPluginUrlInterceptor *pluginFromIdentifier(const QString &id);
34 
35 private:
36  std::unique_ptr<NetworkUrlInterceptorPluginManagerPrivate> const d;
37 };
38 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Feb 15 2024 03:55:21 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.