You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira #preflight 6306736ac85b7fef22be7751 [CL 21558583 by bryan sefcik in ue5-main branch]
44 lines
1.2 KiB
C++
44 lines
1.2 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "DeviceProfileServicesUIManager.h"
|
|
#include "HAL/PlatformCrt.h"
|
|
#include "IDeviceProfileServicesModule.h"
|
|
#include "IDeviceProfileServicesUIManager.h"
|
|
#include "Modules/ModuleManager.h"
|
|
#include "Templates/SharedPointer.h"
|
|
|
|
|
|
/**
|
|
* Implements the DeviceProfileServices module.
|
|
*/
|
|
class FDeviceProfileServicesModule
|
|
: public IDeviceProfileServicesModule
|
|
{
|
|
public:
|
|
|
|
// IDeviceProfileServicesModule interface
|
|
|
|
virtual IDeviceProfileServicesUIManagerRef GetProfileServicesManager( ) override
|
|
{
|
|
if (!DeviceProfileServicesUIManagerSingleton.IsValid())
|
|
{
|
|
DeviceProfileServicesUIManagerSingleton = MakeShareable(new FDeviceProfileServicesUIManager());
|
|
}
|
|
|
|
return DeviceProfileServicesUIManagerSingleton.ToSharedRef();
|
|
}
|
|
|
|
protected:
|
|
|
|
// Holds the session manager singleton.
|
|
static IDeviceProfileServicesUIManagerPtr DeviceProfileServicesUIManagerSingleton;
|
|
};
|
|
|
|
|
|
/* Static initialization
|
|
*****************************************************************************/
|
|
|
|
IDeviceProfileServicesUIManagerPtr FDeviceProfileServicesModule::DeviceProfileServicesUIManagerSingleton = NULL;
|
|
|
|
IMPLEMENT_MODULE(FDeviceProfileServicesModule, DeviceProfileServices);
|