Files
UnrealEngineUWP/Engine/Source/Developer/ScreenShotComparison/Private/ScreenShotComparisonModule.cpp
Ben Marsh 13d012685f Merging copyright update from 4.19 branch.
#rb none
#rnx
#jira

[CL 3818977 by Ben Marsh in Staging-4.19 branch]
2018-01-02 15:30:26 -05:00

32 lines
969 B
C++

// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
ScreenShotComparisonModule.cpp: Implements the FScreenShotComparisonModule class.
=============================================================================*/
#include "CoreMinimal.h"
#include "Modules/ModuleManager.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Interfaces/IScreenShotComparisonModule.h"
#include "Widgets/SScreenShotBrowser.h"
static const FName ScreenShotComparisonName("ScreenShotComparison");
/**
* Implements the ScreenShotComparison module.
*/
class FScreenShotComparisonModule
: public IScreenShotComparisonModule
{
public:
virtual TSharedRef<class SWidget> CreateScreenShotComparison( const IScreenShotManagerRef& ScreenShotManager ) override
{
return SNew(SScreenShotBrowser, ScreenShotManager);
}
};
IMPLEMENT_MODULE(FScreenShotComparisonModule, ScreenShotComparison);