Messagelib

partnodebodypart.h
1/*
2 partnodebodypart.h
3
4 This file is part of KMail, the KDE mail client.
5 SPDX-FileCopyrightText: 2004 Marc Mutz <mutz@kde.org>
6 SPDX-FileCopyrightText: 2004 Ingo Kloecker <kloecker@kde.org>
7
8 SPDX-License-Identifier: GPL-2.0-or-later
9*/
10
11#pragma once
12
13#include "mimetreeparser/bodypart.h"
14#include "mimetreeparser_export.h"
15
16namespace KMime
17{
18class Content;
19}
20
21namespace MimeTreeParser
22{
23class NodeHelper;
24}
25
26namespace MimeTreeParser
27{
28/**
29 @short an implementation of the BodyPart interface using KMime::Content's
30*/
31class MIMETREEPARSER_EXPORT PartNodeBodyPart : public Interface::BodyPart
32{
33public:
34 explicit PartNodeBodyPart(ObjectTreeParser *otp, ProcessResult *result, KMime::Content *topLevelContent, KMime::Content *content, NodeHelper *nodeHelper);
35
36 Interface::BodyPartMemento *memento() const override;
37 KMime::Content *content() const override;
38 KMime::Content *topLevelContent() const override;
39 ProcessResult *processResult() const override;
40
41 NodeHelper *nodeHelper() const override;
42 ObjectTreeParser *objectTreeParser() const override;
43 Interface::ObjectTreeSource *source() const override;
44
45private:
46 KMime::Content *const mTopLevelContent;
47 KMime::Content *const mContent;
48 NodeHelper *const mNodeHelper;
49 ObjectTreeParser *const mObjectTreeParser;
50 ProcessResult *const mProcessResult;
51};
52}
interface of classes that implement status for BodyPartFormatters.
Definition bodypart.h:34
interface of message body parts.
Definition bodypart.h:45
Interface for object tree sources.
Parses messages and generates HTML display code out of them.
an implementation of the BodyPart interface using KMime::Content's
The ProcessResult class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.