/*
  SPDX-FileCopyrightText: 2015-2020 Laurent Montel <montel@kde.org>

  SPDX-License-Identifier: GPL-2.0-or-later
*/

#ifndef RESOURCEREADCONFIGFILE_H
#define RESOURCEREADCONFIGFILE_H

#include <KConfigGroup>
#include <QString>
#include "mailcommon_export.h"

namespace MailCommon {
class ResourceReadConfigFilePrivate;
class MAILCOMMON_EXPORT ResourceReadConfigFile
{
public:
    ResourceReadConfigFile(const QString &resourceName);
    ~ResourceReadConfigFile();

    KConfigGroup group(const QString &name) const;
private:
    ResourceReadConfigFilePrivate *const d;
};
}

#endif // RESOURCEREADCONFIGFILE_H
