Files
UnrealEngineUWP/Engine/Source/Editor/DeviceProfileEditor/Private/SDeviceProfileEditorSingleProfileView.h
Ben Marsh 20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00

44 lines
1017 B
C++

// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/WeakObjectPtr.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/SCompoundWidget.h"
#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