Files
UnrealEngineUWP/Engine/Source/Developer/Android/AndroidPlatformEditor/Private/AndroidLicenseDialog.h
Ben Marsh f86325bfa7 Merging //UE4/Release-4.17 @ CL 3528061 to Release-Staging-4.17 (//UE4/Release-Staging-4.17)
#rb none
#jira UE-123

[CL 3535468 by Ben Marsh in Staging-4.17 branch]
2017-07-13 10:13:07 -04:00

42 lines
781 B
C++

// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Input/Reply.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/SCompoundWidget.h"
#include "SecureHash.h"
class SScrollBox;
/**
* Credit screen widget that displays a scrolling list contributors.
*/
class SAndroidLicenseDialog : public SCompoundWidget
{
public:
SLATE_BEGIN_ARGS( SAndroidLicenseDialog )
{}
SLATE_END_ARGS()
/**
* Constructs the credits screen widgets
*/
void Construct(const FArguments& InArgs);
bool HasLicense();
private:
bool bLicenseValid;
FReply OnAgree();
FReply OnCancel();
FSHAHash LicenseHash;
/** The widget that scrolls the license text */
TSharedPtr<SScrollBox> ScrollBox;
};