You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- SCC Show in changelist - Fix Unloaded actors not having SCC Menu #jira UE-155244 #rb patrick.laflamme #preflight 630ca346f92416fb925faead [CL 21685112 by patrick enfedaque in ue5-main branch]
34 lines
1004 B
C++
34 lines
1004 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Modules/ModuleInterface.h"
|
|
#include "Modules/ModuleManager.h"
|
|
|
|
/**
|
|
* SourceControlWindows module interface
|
|
*/
|
|
class ISourceControlWindowsModule : public IModuleInterface
|
|
{
|
|
public:
|
|
/**
|
|
* Get reference to the SourceControlWindows module instance
|
|
*/
|
|
static inline ISourceControlWindowsModule& Get()
|
|
{
|
|
return FModuleManager::LoadModuleChecked<ISourceControlWindowsModule>("SourceControlWindows");
|
|
}
|
|
|
|
static inline ISourceControlWindowsModule* TryGet()
|
|
{
|
|
return FModuleManager::GetModulePtr<ISourceControlWindowsModule>("SourceControlWindows");
|
|
}
|
|
|
|
virtual void ShowChangelistsTab() = 0;
|
|
virtual bool CanShowChangelistsTab() const = 0;
|
|
virtual void SelectFiles(const TArray<FString>& Filenames) = 0;
|
|
|
|
DECLARE_EVENT_OneParam(ISourceControlWindowsModule, FChangelistFileDoubleClickedEvent, const FString&);
|
|
virtual FChangelistFileDoubleClickedEvent& OnChangelistFileDoubleClicked() = 0;
|
|
};
|