Files
UnrealEngineUWP/Engine/Source/Developer/ScreenShotComparison/Private/ScreenShotComparisonModule.cpp

28 lines
815 B
C++
Raw Normal View History

// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
ScreenShotComparisonModule.cpp: Implements the FScreenShotComparisonModule class.
=============================================================================*/
#include "ScreenShotComparisonPrivatePCH.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);