File indexing completed on 2025-01-05 04:58:23

0001 /*******************************************************************************
0002 **
0003 ** SPDX-FileCopyrightText: 2005 Till Adam <adam@kde.org>
0004 **
0005 ** SPDX-License-Identifier: GPL-2.0-or-later
0006 **
0007 *******************************************************************************/
0008 #pragma once
0009 
0010 #include "pimcommonakonadi_export.h"
0011 #include <Akonadi/Collection>
0012 
0013 namespace PimCommon
0014 {
0015 /**
0016  * The Util namespace contains a collection of helper functions use in
0017  * various places.
0018  */
0019 namespace MailUtil
0020 {
0021 [[nodiscard]] PIMCOMMONAKONADI_EXPORT QString indexerServiceName();
0022 [[nodiscard]] PIMCOMMONAKONADI_EXPORT bool isImapFolder(const Akonadi::Collection &col, bool &isOnline);
0023 }
0024 }