File indexing completed on 2024-12-08 04:34:22

0001 /*
0002    SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "libruqolawidgets_private_export.h"
0010 #include <QDebug>
0011 #include <QString>
0012 namespace ImportExportUtils
0013 {
0014 struct AccountImportExportInfo {
0015     QString path;
0016     QString accountName;
0017 };
0018 
0019 [[nodiscard]] LIBRUQOLAWIDGETS_TESTS_EXPORT QString configPath();
0020 [[nodiscard]] LIBRUQOLAWIDGETS_TESTS_EXPORT QString localPath();
0021 [[nodiscard]] LIBRUQOLAWIDGETS_TESTS_EXPORT QString logsPath();
0022 [[nodiscard]] LIBRUQOLAWIDGETS_TESTS_EXPORT QString databasePath();
0023 [[nodiscard]] LIBRUQOLAWIDGETS_TESTS_EXPORT QString cachePath();
0024 };
0025 LIBRUQOLAWIDGETS_TESTS_EXPORT QDebug operator<<(QDebug d, const ImportExportUtils::AccountImportExportInfo &t);
0026 Q_DECLARE_TYPEINFO(ImportExportUtils::AccountImportExportInfo, Q_RELOCATABLE_TYPE);
0027 Q_DECLARE_METATYPE(ImportExportUtils::AccountImportExportInfo)