Messagelib

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

KDE's Doxygen guidelines are available online.