File indexing completed on 2024-12-22 05:05:25

0001 /*
0002    SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 #pragma once
0007 
0008 #include "logcreatingressource.h"
0009 #include "utils.h"
0010 #include <QList>
0011 
0012 class ExportImportUtil
0013 {
0014 public:
0015     ExportImportUtil();
0016     ~ExportImportUtil();
0017     void setListOfResource(const QList<Utils::AkonadiInstanceInfo> &instanceInfoList);
0018     void setPathConfig(const QString &pathConfig);
0019     void addLogCreateResource(const QString &str);
0020     [[nodiscard]] QString loggingFilePath() const;
0021 
0022     QList<Utils::AkonadiInstanceInfo> mListAkonadiInstanceInfo;
0023     QString mPathConfig;
0024     void setExtractPath(const QString &extractPath);
0025 
0026     [[nodiscard]] QString extractPath() const;
0027 
0028 protected:
0029     LogCreatingResource *mLogCreateResource = nullptr;
0030 
0031 private:
0032     QString mExtractPath;
0033 };