Files
UnrealEngineUWP/Engine/Source/Developer/SourceControl/Private/SourceControlSettings.h
ryan durand 471d972e62 Updating copyright for Engine Developer.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869240 via CL 10869516 via CL 10869902
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870584 by ryan durand in Main branch]
2019-12-26 15:32:37 -05:00

40 lines
867 B
C++

// Copyright 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;
};