Files
UnrealEngineUWP/Engine/Source/Editor/SourceControlWindows/Public/SourceControlWindows.h
Ben Marsh 149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00

35 lines
1.0 KiB
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Core.h"
class SOURCECONTROLWINDOWS_API FSourceControlWindows
{
public:
/**
* Display check in dialog for the specified packages
*
* @param InPackageNames Names of packages to check in
* @param InConfigFiles Config filenames to check in
*/
static bool PromptForCheckin(const TArray<FString>& InPackageNames, const TArray<FString>& InConfigFiles = TArray<FString>());
/**
* Display file revision history for the provided packages
*
* @param InPackageNames Names of packages to display file revision history for
*/
static void DisplayRevisionHistory( const TArray<FString>& InPackagesNames );
/**
* Prompt the user with a revert files dialog, allowing them to specify which packages, if any, should be reverted.
*
* @param InPackageNames Names of the packages to consider for reverting
*
* @return true if the files were reverted; false if the user canceled out of the dialog
*/
static bool PromptForRevert(const TArray<FString>& InPackageNames );
};