File indexing completed on 2024-11-24 04:49:52

0001 /*
0002    SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "ksievecore_private_export.h"
0010 #include <QString>
0011 namespace KSieveCore
0012 {
0013 class KSIEVECORE_TESTS_EXPORT AbstractAkonadiImapSettingInterface
0014 {
0015 public:
0016     AbstractAkonadiImapSettingInterface();
0017     virtual ~AbstractAkonadiImapSettingInterface();
0018     [[nodiscard]] virtual bool sieveSupport() const;
0019     [[nodiscard]] virtual bool sieveReuseConfig() const;
0020     [[nodiscard]] virtual QString imapServer() const;
0021     [[nodiscard]] virtual QString userName() const;
0022     [[nodiscard]] virtual int sievePort() const;
0023     [[nodiscard]] virtual QString sieveCustomUsername() const;
0024     [[nodiscard]] virtual QString sieveCustomAuthentification() const;
0025     [[nodiscard]] virtual QString sieveVacationFilename() const;
0026     [[nodiscard]] virtual QString safety() const;
0027     [[nodiscard]] virtual int alternateAuthentication() const;
0028     [[nodiscard]] virtual int authentication() const;
0029     [[nodiscard]] virtual QString sieveAlternateUrl() const;
0030     [[nodiscard]] virtual int imapPort() const;
0031 
0032 private:
0033     Q_DISABLE_COPY(AbstractAkonadiImapSettingInterface)
0034 };
0035 }