Messagelib

utils.h
1 /*
2  SPDX-FileCopyrightText: 2016 Sandro KnauƟ <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "interfaces/bodypart.h"
10 #include "messagepart.h"
11 
12 #include <KMime/Content>
13 
14 namespace MimeTreeParser
15 {
16 /**
17  1. Create a new partNode using 'content' data and Content-Description
18  found in 'cntDesc'.
19  2. Parse the 'node' to display the content.
20 */
21 MimeMessagePart::Ptr createAndParseTempNode(Interface::BodyPart &part, KMime::Content *parentNode, const char *content, const char *cntDesc);
22 
23 KMime::Content *findTypeInDirectChilds(KMime::Content *content, const QByteArray &mimeType);
24 
25 MessagePart::Ptr toplevelTextNode(MessagePart::Ptr messageTree);
26 }
27 
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Nov 30 2021 23:05:48 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.