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