Files
UnrealEngineUWP/Engine/Source/Editor/DerivedDataEditor/Private/DerivedDataCacheNotifications.h
bryan sefcik 8cc129f2b6 IWYU Pass 1 - Engine/Source/Editor/...
#jira
#preflight 6306736ac85b7fef22be7751

[CL 21558583 by bryan sefcik in ue5-main branch]
2022-08-24 22:45:13 -04:00

32 lines
782 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "DerivedDataCacheInterface.h"
#include "IDerivedDataCacheNotifications.h"
#include "Templates/SharedPointer.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;
};