Files
UnrealEngineUWP/Engine/Source/Editor/DerivedDataEditor/Private/DerivedDataCacheNotifications.h
Marc Audy 0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00

34 lines
827 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "SlateFwd.h"
#include "UObject/WeakObjectPtr.h"
#include "DerivedDataCacheInterface.h"
#include "IDerivedDataCacheNotifications.h"
class SNotificationItem;
class FDerivedDataCacheNotifications : public IDerivedDataCacheNotifications
{
public:
FDerivedDataCacheNotifications();
virtual ~FDerivedDataCacheNotifications();
private:
/** DDC data put notification handler */
void OnDDCNotificationEvent(FDerivedDataCacheInterface::EDDCNotification DDCNotification);
/** Subscribe to the notifactions */
void Subscribe(bool bSubscribe);
/** Whether we are subscribed or not **/
bool bSubscribed;
/** Valid when a DDC notification item is being presented */
TSharedPtr<SNotificationItem> SharedDDCNotification;
};