You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#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]
46 lines
892 B
C++
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;
|
|
};
|
|
|