FSourceControlWindows

Windows
MacOS
Linux

References

Module

SourceControlWindows

Header

/Engine/Source/Editor/SourceControlWindows/Public/SourceControlWindows.h

Include

#include "SourceControlWindows.h"

Syntax

class FSourceControlWindows

Functions

Name Description

Public function Static

bool

 

CanChoosePackagesToCheckIn()

Determines whether we can choose packages to check in (we cant if an operation is already in progress)

Public function Static

bool

 

ChoosePackagesToCheckIn

(
    const FSourceControlWindowsOnCheckI...
)

Opens a user dialog to choose packages to submit.

Protected function Static

void

 

ChoosePackagesToCheckInCallback

Callback for ChoosePackagesToCheckIn(), continues to bring up UI once source control operations are complete

Protected function Static

void

 

ChoosePackagesToCheckInCancelled

(
    FSourceControlOperationRef InOperat...
)

Delegate called when the user has decided to cancel the check in process

Protected function Static

void

 

ChoosePackagesToCheckInCompleted

(
    const TArray< UPackage* >& Lo...,
    const TArray< FString >& PackageNa...,
    const TArray< FString >& ConfigFil...,
    FCheckinResultInfo& OutResultInfo
)

Called when the user selection process has completed and we have packages to check in.

Public function Static

void

 

DisplayRevisionHistory

(
    const TArray< FString >& InPackage...
)

Display file revision history for the provided packages

Public function Static

TArray< FStr...

 

GetSourceControlLocations

(
    const bool bContentOnly
)

Get the list of files and directories that source control should check when looking for changes.

Protected function Static

bool

 

OnSubmitClicked

(
    TSharedRef< class SSourceControlSub...
)

Delegate called when the user clicks submit.

Public function Static

bool

 

PromptForCheckin

(
    bool bUseSourceControlStateCache,
    const TArray< FString >& InPackage...,
    const TArray< FString >& InPending...,
    const TArray< FString >& InConfigF...
)

Display check in dialog for the specified packages

Public function Static

bool

 

PromptForCheckin

(
    FCheckinResultInfo& OutResultInfo,
    const TArray< FString >& InPackage...,
    const TArray< FString >& InPending...,
    const TArray< FString >& InConfigF...,
    bool bUseSourceControlStateCache
)

Display check in dialog for the specified packages and get additional result information

Public function Static

bool

 

PromptForRevert

(
    const TArray< FString >& InPackage...
)

Prompt the user with a revert files dialog, allowing them to specify which packages, if any, should be reverted.

Constants

Name

Description

ChoosePackagesToCheckInNotification

The notification in place while we choose packages to check in

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss