Files
UnrealEngineUWP/Engine/Source/Developer/Windows/LiveCoding/Public/ILiveCodingModule.h
ben marsh 1c50519254 LiveCoding: Add a delegate that's called when a Live Coding patch is applied.
#jira UE-79227
[FYI] Rex.Hill


#ROBOMERGE-SOURCE: CL 8362316 via CL 8362852
#ROBOMERGE-BOT: (v402-8361577)

[CL 8362915 by ben marsh in Main branch]
2019-08-28 12:34:28 -04:00

32 lines
813 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreTypes.h"
#include "Delegates/Delegate.h"
#include "Modules/ModuleInterface.h"
#define LIVE_CODING_MODULE_NAME "LiveCoding"
class ILiveCodingModule : public IModuleInterface
{
public:
virtual void EnableByDefault(bool bEnabled) = 0;
virtual bool IsEnabledByDefault() const = 0;
virtual void EnableForSession(bool bEnabled) = 0;
virtual bool IsEnabledForSession() const = 0;
virtual bool CanEnableForSession() const = 0;
virtual bool HasStarted() const = 0;
virtual void ShowConsole() = 0;
virtual void Compile() = 0;
virtual bool IsCompiling() const = 0;
virtual void Tick() = 0;
DECLARE_MULTICAST_DELEGATE(FOnPatchCompleteDelegate);
virtual FOnPatchCompleteDelegate& GetOnPatchCompleteDelegate() = 0;
};