Files
UnrealEngineUWP/Engine/Source/Editor/DeviceProfileEditor/Private/SDeviceProfileEditorSingleProfileView.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

47 lines
1.1 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Templates/SharedPointer.h"
#include "UObject/WeakObjectPtr.h"
#include "UObject/WeakObjectPtrTemplates.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/SCompoundWidget.h"
class SWidget;
#define LOCTEXT_NAMESPACE "DeviceProfileEditorSingleProfileView"
class IDetailsView;
class UDeviceProfile;
/**
* Slate widget to allow users to select device profiles
*/
class SDeviceProfileEditorSingleProfileView
: public SCompoundWidget
{
public:
SLATE_BEGIN_ARGS(SDeviceProfileEditorSingleProfileView) {}
SLATE_DEFAULT_SLOT( FArguments, Content )
SLATE_END_ARGS()
/** Constructs this widget with InArgs */
void Construct( const FArguments& InArgs, TWeakObjectPtr< UDeviceProfile > InDeviceProfile );
/** Destructor */
~SDeviceProfileEditorSingleProfileView(){}
private:
/** The profile selected from the current list. */
TWeakObjectPtr< UDeviceProfile > EditingProfile;
/** Holds the details view. */
TSharedPtr<IDetailsView> SettingsView;
};
#undef LOCTEXT_NAMESPACE