Files
UnrealEngineUWP/Engine/Source/Developer/Android/AndroidPlatformEditor/Private/AndroidLicenseDialog.h
ryan durand 471d972e62 Updating copyright for Engine Developer.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869240 via CL 10869516 via CL 10869902
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870584 by ryan durand in Main branch]
2019-12-26 15:32:37 -05:00

46 lines
892 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Input/Reply.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/SCompoundWidget.h"
#include "Misc/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();
void SetLicenseAcceptedCallback(const FSimpleDelegate& InOnLicenseAccepted);
private:
bool bLicenseValid;
FReply OnAgree();
FReply OnCancel();
FSHAHash LicenseHash;
/** The widget that scrolls the license text */
TSharedPtr<SScrollBox> ScrollBox;
FSimpleDelegate OnLicenseAccepted;
};