Files
UnrealEngineUWP/Engine/Source/Runtime/Windows/WindowsPlatformFeatures/Private/WindowsPlatformFeatures.cpp

28 lines
689 B
C++
Raw Normal View History

// Copyright 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()
{
}
IVideoRecordingSystem* FWindowsPlatformFeaturesModule::GetVideoRecordingSystem()
{
static FWindowsVideoRecordingSystem VideoRecordingSystem;
return &VideoRecordingSystem;
}
void FWindowsPlatformFeaturesModule::StartupModule()
{
FModuleManager::Get().LoadModule(TEXT("GameplayMediaEncoder"));
}
WINDOWSPLATFORMFEATURES_END