2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2020 Alexis Jeandet.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2020-10-29 10:20:14 +01:00
|
|
|
|
2020-05-01 18:20:56 +02:00
|
|
|
#pragma once
|
2020-10-29 10:20:14 +01:00
|
|
|
|
2021-03-31 17:46:20 +02:00
|
|
|
#include <coreplugin/dialogs/ioptionspage.h>
|
2020-10-29 10:20:14 +01:00
|
|
|
|
2021-03-31 17:46:20 +02:00
|
|
|
#include <utils/aspects.h>
|
2020-10-29 10:20:14 +01:00
|
|
|
|
2020-05-01 18:20:56 +02:00
|
|
|
namespace MesonProjectManager {
|
|
|
|
|
namespace Internal {
|
2020-10-29 10:20:14 +01:00
|
|
|
|
2021-03-31 17:46:20 +02:00
|
|
|
class Settings : public Utils::AspectContainer
|
2020-05-01 18:20:56 +02:00
|
|
|
{
|
2021-03-31 17:46:20 +02:00
|
|
|
public:
|
|
|
|
|
Settings();
|
2020-05-01 18:20:56 +02:00
|
|
|
|
2021-03-31 17:46:20 +02:00
|
|
|
static Settings *instance();
|
2020-05-01 18:20:56 +02:00
|
|
|
|
2021-03-31 17:46:20 +02:00
|
|
|
Utils::BoolAspect autorunMeson;
|
|
|
|
|
Utils::BoolAspect verboseNinja;
|
|
|
|
|
};
|
2020-05-01 18:20:56 +02:00
|
|
|
|
2021-03-31 17:46:20 +02:00
|
|
|
class GeneralSettingsPage final : public Core::IOptionsPage
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
GeneralSettingsPage();
|
2020-05-01 18:20:56 +02:00
|
|
|
};
|
2020-10-29 10:20:14 +01:00
|
|
|
|
2020-05-01 18:20:56 +02:00
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace MesonProjectManager
|