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>
13namespace WebEngineViewer
14{
15class NetworkUrlInterceptorPluginManagerPrivate;
16class NetworkPluginUrlInterceptor;
17/**
18 * @brief The NetworkUrlInterceptorPluginManager class
19 * @author Laurent Montel <montel@kde.org>
20 */
21class WEBENGINEVIEWER_EXPORT NetworkUrlInterceptorPluginManager : public QObject
22{
23 Q_OBJECT
24public:
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
35private:
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 Tue Mar 26 2024 11:12:44 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.