aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/mercurial/mercurialsettings.h
blob: 0a1482a6ca4b563f80db0adcacbe58eb8427d391 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (C) 2016 Brian McGillion
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include <coreplugin/dialogs/ioptionspage.h>

#include <vcsbase/vcsbaseclientsettings.h>

namespace Mercurial {
namespace Internal {

class MercurialSettings : public VcsBase::VcsBaseSettings
{
    Q_DECLARE_TR_FUNCTIONS(Mercurial::Internal::MercurialSettings)

public:
    Utils::StringAspect diffIgnoreWhiteSpace;
    Utils::StringAspect diffIgnoreBlankLines;

    MercurialSettings();
};

class MercurialSettingsPage final : public Core::IOptionsPage
{
public:
    explicit MercurialSettingsPage(MercurialSettings *settings);
};

} // namespace Internal
} // namespace Mercurial