You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-163947 #preflight none #rb Zack.Neyland [CL 22459139 by robert seiver in ue5-main branch]
37 lines
795 B
C++
37 lines
795 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "ModalTask.h"
|
|
#include "Perforce.h"
|
|
#include "OutputAdapters.h"
|
|
|
|
namespace UGSCore
|
|
{
|
|
|
|
class FCreateClientTask : public IModalTask
|
|
{
|
|
public:
|
|
TSharedRef<FPerforceConnection> Perforce;
|
|
|
|
FCreateClientTask(
|
|
TSharedRef<FPerforceConnection> InPerforce,
|
|
TSharedRef<FLineBasedTextWriter> InLog,
|
|
const FPerforceClientRecord& InClientRecord,
|
|
const FString& InStream);
|
|
virtual ~FCreateClientTask() override;
|
|
|
|
virtual TSharedRef<FModalTaskResult> Run(FEvent* AbortEvent) override;
|
|
|
|
private:
|
|
TSharedRef<FLineBasedTextWriter> Log;
|
|
|
|
const FPerforceClientRecord& ClientRecord;
|
|
const FString& Stream;
|
|
|
|
TSharedRef<FModalTaskResult> RunInternal(FEvent* AbortEvent) const;
|
|
};
|
|
|
|
} // namespace UGSCore
|