File indexing completed on 2025-01-05 04:49:28

0001 /*
0002    SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "shorturl_export.h"
0010 #include <QObject>
0011 
0012 #include <memory>
0013 
0014 class ShortUrlEnginePlugin;
0015 class ShortUrlEnginePluginManagerPrivate;
0016 class SHORTURL_EXPORT ShortUrlEnginePluginManager : public QObject
0017 {
0018     Q_OBJECT
0019 public:
0020     explicit ShortUrlEnginePluginManager(QObject *parent = nullptr);
0021     ~ShortUrlEnginePluginManager() override;
0022 
0023     QList<ShortUrlEnginePlugin *> pluginsList() const;
0024 
0025     static ShortUrlEnginePluginManager *self();
0026 
0027 private:
0028     std::unique_ptr<ShortUrlEnginePluginManagerPrivate> const d;
0029 };