File indexing completed on 2025-01-05 04:49:44

0001 /*
0002    SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "standardheaderstrategy.h"
0008 
0009 using namespace MessageViewer;
0010 static const char *const standardHeaders[] = {"subject", "from", "cc", "bcc", "to", "date"};
0011 static const int numStandardHeaders = sizeof standardHeaders / sizeof *standardHeaders;
0012 
0013 StandardHeaderStrategy::StandardHeaderStrategy()
0014     : HeaderStrategy()
0015     , mHeadersToDisplay(stringList(standardHeaders, numStandardHeaders))
0016 {
0017 }
0018 
0019 StandardHeaderStrategy::~StandardHeaderStrategy() = default;