Files
UnrealEngineUWP/Engine/Source/Runtime/Windows/WindowsPlatformFeatures/Private/WindowsPlatformFeatures.cpp
Chris Gagnon 00f8b72a0b Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 5602170 by Chris Gagnon in Dev-Editor branch]
2019-03-27 15:03:08 -04:00

31 lines
758 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "WindowsPlatformFeatures.h"
#include "WmfPrivate.h"
#include "WindowsVideoRecordingSystem.h"
#include "Misc/CommandLine.h"
IMPLEMENT_MODULE(FWindowsPlatformFeaturesModule, WindowsPlatformFeatures);
WINDOWSPLATFORMFEATURES_START
FWindowsPlatformFeaturesModule::FWindowsPlatformFeaturesModule()
{
// load generic modules
StartupModules();
}
IVideoRecordingSystem* FWindowsPlatformFeaturesModule::GetVideoRecordingSystem()
{
static FWindowsVideoRecordingSystem VideoRecordingSystem;
return &VideoRecordingSystem;
}
bool FWindowsPlatformFeaturesModule::StartupModules()
{
FModuleManager::Get().LoadModule(TEXT("GameplayMediaEncoder"));
return true;
}
WINDOWSPLATFORMFEATURES_END