Files
qt-creator/src/plugins/vcsbase/commonvcssettings.h
hjk 89a64a19e8 VcsBase: Contruct CommonSettings on first access
Change-Id: Ifa425e2f1952017769accd855e33d1fa53b7b6c9
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2023-07-18 12:12:37 +00:00

30 lines
738 B
C++

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <utils/aspects.h>
namespace VcsBase::Internal {
class CommonVcsSettings final : public Utils::AspectContainer
{
public:
CommonVcsSettings();
Utils::FilePathAspect nickNameMailMap{this};
Utils::FilePathAspect nickNameFieldListFile{this};
Utils::FilePathAspect submitMessageCheckScript{this};
// Executable run to graphically prompt for a SSH-password.
Utils::FilePathAspect sshPasswordPrompt{this};
Utils::BoolAspect lineWrap{this};
Utils::IntegerAspect lineWrapWidth{this};
};
CommonVcsSettings &commonSettings();
} // VcsBase::Internal