You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
The new API uses exported functions and cannot be included with the old API without compile errors in existing code that has an include-only dependency on DDC. #rb Zousar.Shaker #rnx #preflight 610c01e3aeb05700011dc5ab [CL 17071263 by Devin Doucette in ue5-main branch]
28 lines
885 B
C++
28 lines
885 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Modules/ModuleInterface.h"
|
|
|
|
class FDerivedDataCacheInterface;
|
|
|
|
/**
|
|
* Module for the Derived Data Cache and Derived Data Build.
|
|
*/
|
|
class IDerivedDataCacheModule : public IModuleInterface
|
|
{
|
|
public:
|
|
/** Return the DDC interface **/
|
|
UE_DEPRECATED(4.27, "GetDDC has been replaced by CreateOrGetCache.")
|
|
virtual FDerivedDataCacheInterface& GetDDC() = 0;
|
|
|
|
/**
|
|
* Returns the cache, which is created by the first call to this function.
|
|
*
|
|
* This always returns a pointer to a valid cache, but that pointer becomes null when the module
|
|
* shuts down and destroys the cache. This extra level of indirection allows a caller to observe
|
|
* the destruction of the cache without polling this function or monitoring the module lifetime.
|
|
*/
|
|
virtual FDerivedDataCacheInterface* const* CreateOrGetCache() = 0;
|
|
};
|