File indexing completed on 2024-12-22 05:05:18
0001 // SPDX-FileCopyrightText: 2016 Sandro Knauß <sknauss@kde.org> 0002 // SPDX-License-Identifier: LGPL-2.0-or-later 0003 0004 #include "bodypartformatter.h" 0005 0006 using namespace MimeTreeParser::Interface; 0007 0008 namespace MimeTreeParser 0009 { 0010 namespace Interface 0011 { 0012 0013 MessagePart::Ptr BodyPartFormatter::process(ObjectTreeParser *otp, KMime::Content *node) const 0014 { 0015 Q_UNUSED(otp) 0016 Q_UNUSED(node) 0017 return {}; 0018 } 0019 0020 QList<MessagePart::Ptr> BodyPartFormatter::processList(ObjectTreeParser *otp, KMime::Content *node) const 0021 { 0022 if (auto p = process(otp, node)) { 0023 return {p}; 0024 } 0025 return {}; 0026 } 0027 0028 } 0029 }