You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
33 lines
504 B
C
33 lines
504 B
C
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "Templates/SharedPointer.h"
|
||
|
|
#include "UObject/Object.h"
|
||
|
|
|
||
|
|
#include "OutputLogMenuContext.generated.h"
|
||
|
|
|
||
|
|
|
||
|
|
class SOutputLog;
|
||
|
|
|
||
|
|
|
||
|
|
UCLASS()
|
||
|
|
class UOutputLogMenuContext : public UObject
|
||
|
|
{
|
||
|
|
GENERATED_BODY()
|
||
|
|
|
||
|
|
public:
|
||
|
|
void Init(const TSharedRef<SOutputLog>& InOutputLog)
|
||
|
|
{
|
||
|
|
WeakOutputLog = InOutputLog;
|
||
|
|
}
|
||
|
|
|
||
|
|
TSharedPtr<SOutputLog> GetOutputLog() const
|
||
|
|
{
|
||
|
|
return WeakOutputLog.Pin();
|
||
|
|
}
|
||
|
|
|
||
|
|
private:
|
||
|
|
TWeakPtr<SOutputLog> WeakOutputLog;
|
||
|
|
};
|