Files
UnrealEngine/Engine/Source/Developer/LegacyProjectLauncher/Private/Widgets/Project/SProjectLauncherProjectPage.h
2025-05-18 13:04:45 +08:00

37 lines
833 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/SCompoundWidget.h"
#include "Models/LegacyProjectLauncherModel.h"
/**
* Implements the profile page for the session launcher wizard.
*/
class SProjectLauncherProjectPage
: public SCompoundWidget
{
public:
SLATE_BEGIN_ARGS(SProjectLauncherProjectPage) { }
SLATE_ATTRIBUTE(ILauncherProfilePtr, LaunchProfile)
SLATE_END_ARGS()
public:
/**
* Constructs the widget.
*
* @param InArgs The Slate argument list.
* @param InModel The data model.
*/
void Construct( const FArguments& InArgs, const TSharedRef<FProjectLauncherModel>& InModel, bool InShowConfig = true );
private:
// Holds a pointer to the data model.
TSharedPtr<FProjectLauncherModel> Model;
};