2019-03-13 09:42:39 -04:00
|
|
|
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
2019-02-27 11:57:17 -05:00
|
|
|
|
|
|
|
|
#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
|