2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2020 Alexis Jeandet.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2020-05-01 18:20:56 +02:00
|
|
|
|
|
|
|
|
#pragma once
|
2020-10-29 10:20:14 +01:00
|
|
|
|
|
|
|
|
#include "exewrappers/mesontools.h"
|
|
|
|
|
|
|
|
|
|
#include <utils/settingsaccessor.h>
|
2020-05-01 18:20:56 +02:00
|
|
|
|
|
|
|
|
namespace MesonProjectManager {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
|
|
|
|
class ToolsSettingsAccessor final : public Utils::UpgradingSettingsAccessor
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
ToolsSettingsAccessor();
|
|
|
|
|
void saveMesonTools(const std::vector<MesonTools::Tool_t> &tools, QWidget *parent);
|
|
|
|
|
std::vector<MesonTools::Tool_t> loadMesonTools(QWidget *parent);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace MesonProjectManager
|