You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Updated the changelist window to handle double clicking on a changelist. This opens the submit dialog if the submit conditions are met. This mimics P4V behavior. PR #9433: [Source Control] Changelists window: intercept Enter and Delete keys to Submit or Delete the current changelist (Contributed by SRombauts) #jira UE-160314 #rb Patrick.Enfedaque #preflight 630d1e68f92416fb92702657 [CL 21709874 by SRombauts in ue5-main branch]
29 lines
786 B
C++
29 lines
786 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
class ISourceControlChangelist;
|
|
|
|
typedef TSharedRef<class ISourceControlChangelist, ESPMode::ThreadSafe> FSourceControlChangelistRef;
|
|
typedef TSharedPtr<class ISourceControlChangelist, ESPMode::ThreadSafe> FSourceControlChangelistPtr;
|
|
|
|
/**
|
|
* An abstraction of a changelist under source control
|
|
*/
|
|
class ISourceControlChangelist : public TSharedFromThis<ISourceControlChangelist, ESPMode::ThreadSafe>
|
|
{
|
|
public:
|
|
/**
|
|
* Virtual destructor
|
|
*/
|
|
virtual ~ISourceControlChangelist() = default;
|
|
|
|
/**
|
|
* Returns true if the changelist is deletable. Some special changelist might not be deletable like the
|
|
* default Perforce changelist.
|
|
*/
|
|
virtual bool CanDelete() const { return true; }
|
|
};
|