Messagelib

richheaderstrategy.cpp
1/* -*- c++ -*-
2 header/headerstrategy.h
3
4 This file is part of KMail, the KDE mail client.
5 SPDX-FileCopyrightText: 2003 Marc Mutz <mutz@kde.org>
6
7 SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
8
9 SPDX-License-Identifier: GPL-2.0-or-later
10*/
11
12#include "richheaderstrategy.h"
13
14using namespace MessageViewer;
15
16static const char *const richHeaders[] = {"subject",
17 "date",
18 "from",
19 "cc",
20 "bcc",
21 "to",
22 "organization",
23 "organisation",
24 "reply-to",
25 "user-agent",
26 "x-mailer",
27 "x-bugzilla-url",
28 "disposition-notification-to"};
29static const int numRichHeaders = sizeof richHeaders / sizeof *richHeaders;
30
31RichHeaderStrategy::RichHeaderStrategy()
33 , mHeadersToDisplay(stringList(richHeaders, numRichHeaders))
34{
35}
36
37RichHeaderStrategy::~RichHeaderStrategy() = default;
The HeaderStrategy class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:54:19 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.