File indexing completed on 2024-12-22 05:05:18

0001 // SPDX-FileCopyrightText: 2004 Marc Mutz <mutz@kde.org>
0002 // SPDX-FileCopyrightText: 2004 Ingo Kloecker <kloecker@kde.org>
0003 // SPDX-License-Identifier: GPL-2.0-or-later
0004 
0005 #pragma once
0006 
0007 #include "messagepart.h"
0008 
0009 namespace KMime
0010 {
0011 class Content;
0012 }
0013 
0014 namespace MimeTreeParser
0015 {
0016 class ObjectTreeParser;
0017 
0018 namespace Interface
0019 {
0020 
0021 class BodyPart;
0022 
0023 class BodyPartFormatter
0024 {
0025 public:
0026     virtual ~BodyPartFormatter()
0027     {
0028     }
0029 
0030     virtual MessagePart::Ptr process(ObjectTreeParser *otp, KMime::Content *node) const;
0031     virtual QList<MessagePart::Ptr> processList(ObjectTreeParser *otp, KMime::Content *node) const;
0032 };
0033 
0034 } // namespace Interface
0035 
0036 }