Messagelib

dmarcmanager.h
1/*
2 SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <QStringList>
10namespace MessageViewer
11{
12class DMARCManager
13{
14public:
15 ~DMARCManager();
16
17 static DMARCManager *self();
18
19 void addNoDMarcServerAddress(const QString &address);
20 [[nodiscard]] bool isNoDMarcServerAddress(const QString &address) const;
21
22private:
23 DMARCManager();
24 void saveNoServerKeys();
25 void loadNoServerKeys();
26 QStringList mNoDMarcServer;
27};
28}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.