You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Calls to OnPluginUnload (one GC call for all plugins) - Calls to FCollectionManager::HandleObjectDeleted (one UpdateCaches call at the end) #rb Dave.Belanger, Francis.Hurteau [FYI] Rex.Hill #rnx [CL 36757086 by nick verigakis in 5.5 branch]
25 lines
679 B
C++
25 lines
679 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
#include "HAL/Platform.h"
|
|
|
|
class IPlugin;
|
|
|
|
namespace UE::PluginManager::Private
|
|
{
|
|
/// @brief Interface to get around dependency problems between Projects and CoreUObject
|
|
/// interface allows CoreUObject to run login in PluginManager that Projects can't run
|
|
class ICoreUObjectPluginManager
|
|
{
|
|
public:
|
|
virtual void OnPluginUnload(IPlugin& Plugin) = 0;
|
|
|
|
/**
|
|
* API for deferring calls to CollectGarbage (and leak detection).
|
|
*/
|
|
virtual void SuppressPluginUnloadGC() = 0;
|
|
virtual void ResumePluginUnloadGC() = 0;
|
|
};
|
|
|
|
PROJECTS_API void SetCoreUObjectPluginManager(ICoreUObjectPluginManager& Handler);
|
|
} |