File indexing completed on 2025-03-09 04:54:38
0001 /* 0002 SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 0006 */ 0007 0008 #pragma once 0009 0010 #include "messageviewer_export.h" 0011 #include <QObject> 0012 #include <memory> 0013 namespace MessageViewer 0014 { 0015 class ScamCheckShortUrl; 0016 class ScamCheckShortUrlManagerPrivate; 0017 /** 0018 * @brief The ScamCheckShortUrlManager class 0019 * @author Laurent Montel <montel@kde.org> 0020 */ 0021 class MESSAGEVIEWER_EXPORT ScamCheckShortUrlManager : public QObject 0022 { 0023 Q_OBJECT 0024 public: 0025 explicit ScamCheckShortUrlManager(QObject *parent = nullptr); 0026 ~ScamCheckShortUrlManager() override; 0027 static ScamCheckShortUrlManager *self(); 0028 [[nodiscard]] ScamCheckShortUrl *scamCheckShortUrl() const; 0029 0030 private: 0031 std::unique_ptr<ScamCheckShortUrlManagerPrivate> const d; 0032 }; 0033 }