You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-143320 #rb Matt.Johnson #rb Lauren.Barnes #preflight 621642ffbd3bdd9086d72271 [CL 19090889 by Dominik Peacock in ue5-main branch]
35 lines
654 B
C++
35 lines
654 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Modules/ModuleInterface.h"
|
|
#include "Modules/ModuleManager.h"
|
|
|
|
/**
|
|
* Interface for the UndoHistory module.
|
|
*/
|
|
class IUndoHistoryModule
|
|
: public IModuleInterface
|
|
{
|
|
public:
|
|
|
|
/**
|
|
* Gets a reference to the UndoHistory module instance.
|
|
*
|
|
* @todo gmp: better implementation using dependency injection.
|
|
* @return A reference to the module.
|
|
*/
|
|
static IUndoHistoryModule& Get( )
|
|
{
|
|
return FModuleManager::LoadModuleChecked<IUndoHistoryModule>("UndoHistory");
|
|
}
|
|
|
|
public:
|
|
|
|
/**
|
|
* Virtual destructor.
|
|
*/
|
|
virtual ~IUndoHistoryModule( ) { }
|
|
};
|