You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Headers are updated to contain any missing #includes needed to compile and #includes are sorted. Nothing is removed. #ushell-cherrypick of 21064294 by bryan.sefcik #jira #preflight 62d5c2111062f2e63015e598 #ROBOMERGE-OWNER: bryan.sefcik #ROBOMERGE-AUTHOR: bryan.sefcik #ROBOMERGE-SOURCE: CL 21155249 via CL 21158121 via CL 21161259 #ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824) [CL 21182053 by bryan sefcik in ue5-main branch]
49 lines
1.7 KiB
C++
49 lines
1.7 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Containers/Array.h"
|
|
#include "Containers/Map.h"
|
|
#include "Containers/UnrealString.h"
|
|
#include "CoreMinimal.h"
|
|
#include "Engine/DeveloperSettings.h"
|
|
#include "UObject/ObjectMacros.h"
|
|
#include "UObject/UObjectGlobals.h"
|
|
|
|
#include "SourceControlPreferences.generated.h"
|
|
|
|
class FName;
|
|
class UObject;
|
|
|
|
|
|
/** Settings for the Source Control Integration */
|
|
UCLASS(config = Editor, defaultconfig, meta = (DisplayName = "Source Control"))
|
|
class SOURCECONTROL_API USourceControlPreferences : public UDeveloperSettings
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
/** Helper to access easily Enable Validation Tag setting */
|
|
static bool IsValidationTagEnabled();
|
|
|
|
/** Helper to access easily Should Delete New Files On Revert setting */
|
|
static bool ShouldDeleteNewFilesOnRevert();
|
|
|
|
public:
|
|
/** If enabled, adds a tag in changelist descriptions when they are validated */
|
|
UPROPERTY(config, EditAnywhere, Category = SourceControl, meta = (ToolTip = "Adds validation tag to changelist description on submit."))
|
|
bool bEnableValidationTag = true;
|
|
|
|
/** If enabled, deletes new files when reverted. */
|
|
UPROPERTY(config, EditAnywhere, Category = SourceControl, meta = (ToolTip = "Deletes new files when reverted."))
|
|
bool bShouldDeleteNewFilesOnRevert = true;
|
|
|
|
/** List of lines to add to any collection on checkin */
|
|
UPROPERTY(config, EditAnywhere, Category = SourceControl)
|
|
TArray<FString> CollectionChangelistTags;
|
|
|
|
/** Map of collection names and additional text to apply to changelist descriptions when checking them in */
|
|
UPROPERTY(config, EditAnywhere, Category = SourceControl, meta=(MultiLine=true))
|
|
TMap<FName, FString> SpecificCollectionChangelistTags;
|
|
};
|