File indexing completed on 2024-11-24 04:44:12

0001 /*
0002  * SPDX-FileCopyrightText: 2012 Christian Mollekopf <mollekopf@kolabsys.com>
0003  *
0004  * SPDX-License-Identifier: LGPL-3.0-or-later
0005  */
0006 
0007 #pragma once
0008 
0009 #include "kolab_export.h"
0010 
0011 #include <KMime/Message>
0012 #include <kolabnote.h>
0013 
0014 namespace Kolab
0015 {
0016 /**
0017  * Conversion of Kolab-Containers to/from KDE Containers.
0018  *
0019  */
0020 namespace Conversion
0021 {
0022 KOLAB_EXPORT KMime::Message::Ptr toNote(const Kolab::Note &);
0023 KOLAB_EXPORT Kolab::Note fromNote(const KMime::Message::Ptr &);
0024 }
0025 }