Messagelib

messagecore/src/utils/util.h
1/* SPDX-FileCopyrightText: 2020 Sandro Knauß <knauss@kde.org>
2
3 SPDX-License-Identifier: LGPL-2.0-or-later
4*/
5#pragma once
6
7#include "messagecore_export.h"
8
9#include <KIdentityManagementCore/Identity>
10
11namespace KIdentityManagementCore
12{
13class IdentityManager;
14}
15
16namespace KMime
17{
18class Message;
19}
20
21namespace MessageCore
22{
23/**
24 * This namespace contain helper functions
25 */
26namespace Util
27{
28[[nodiscard]] MESSAGECORE_EXPORT const KIdentityManagementCore::Identity &
29identityForMessage(KMime::Message *msg, const KIdentityManagementCore::IdentityManager *const identMgr, uint folderIdentityId);
30}
31}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.