Files
UnrealEngineUWP/Engine/Source/Developer/ProjectLauncher/Private/Widgets/Deploy/SProjectLauncherDeployToDeviceSettings.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

47 lines
1.1 KiB
C++

// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Layout/Visibility.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/SCompoundWidget.h"
#include "Models/ProjectLauncherModel.h"
enum class ECheckBoxState : uint8;
/**
* Implements the deploy-to-device settings panel.
*/
class SProjectLauncherDeployToDeviceSettings
: public SCompoundWidget
{
public:
SLATE_BEGIN_ARGS(SProjectLauncherDeployToDeviceSettings) { }
SLATE_END_ARGS()
public:
/**
* Constructs the widget.
*
* @param InArgs - The Slate argument list.
* @param InModel - The data model.
*/
void Construct( const FArguments& InArgs, const FProjectLauncherModelRef& InModel, EVisibility InShowAdvanced = EVisibility::Visible );
protected:
private:
/** Handles check state changes of the 'Incremental' check box. */
void HandleIncrementalCheckBoxCheckStateChanged( ECheckBoxState NewState );
/** Handles determining the checked state of the 'Incremental' check box. */
ECheckBoxState HandleIncrementalCheckBoxIsChecked( ) const;
// Holds a pointer to the data model.
FProjectLauncherModelPtr Model;
};