File indexing completed on 2025-03-09 04:54:33
0001 /* -*- c++ -*- 0002 header/headerstrategy.h 0003 0004 This file is part of KMail, the KDE mail client. 0005 SPDX-FileCopyrightText: 2003 Marc Mutz <mutz@kde.org> 0006 0007 SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org> 0008 0009 SPDX-License-Identifier: GPL-2.0-or-later 0010 */ 0011 0012 #include "richheaderstrategy.h" 0013 0014 using namespace MessageViewer; 0015 0016 static const char *const richHeaders[] = {"subject", 0017 "date", 0018 "from", 0019 "cc", 0020 "bcc", 0021 "to", 0022 "organization", 0023 "organisation", 0024 "reply-to", 0025 "user-agent", 0026 "x-mailer", 0027 "x-bugzilla-url", 0028 "disposition-notification-to"}; 0029 static const int numRichHeaders = sizeof richHeaders / sizeof *richHeaders; 0030 0031 RichHeaderStrategy::RichHeaderStrategy() 0032 : HeaderStrategy() 0033 , mHeadersToDisplay(stringList(richHeaders, numRichHeaders)) 0034 { 0035 } 0036 0037 RichHeaderStrategy::~RichHeaderStrategy() = default;