Files
UnrealEngineUWP/Engine/Source/Developer/SourceControl/Private/SourceControlSettings.h
Ben Marsh 7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00

40 lines
877 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
class FSourceControlSettings
{
public:
FSourceControlSettings()
: bUseGlobalSettings(false)
{
}
/** Get the provider we want to use */
const FString& GetProvider() const;
/** Set the provider we want to use */
void SetProvider(const FString& InString);
/** Get whether we should use global or per-project settings */
bool GetUseGlobalSettings() const;
/** Set whether we should use global or per-project settings */
void SetUseGlobalSettings(bool bInUseGlobalSettings);
/** Load settings from ini file */
void LoadSettings();
/** Save settings to ini file */
void SaveSettings() const;
private:
/** The preferred source control provider */
FString Provider;
/** Whether we should use global or per-project settings */
bool bUseGlobalSettings;
};