Files
UnrealEngineUWP/Engine/Source/Editor/DeviceProfileServices/Private/DeviceProfileServicesModule.cpp
Jaroslaw Palczynski ebce413232 UE4 Refactoring. Changed OVERRIDE and FINAL macros to keywords override and final.
[CL 2104397 by Jaroslaw Palczynski in Main branch]
2014-06-13 06:14:46 -04:00

41 lines
1.3 KiB
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
DeviceProfileServicesModule.cpp: Implements the FDeviceProfileServicesModule module.
=============================================================================*/
#include "DeviceProfileServicesPCH.h"
/**
* Implements the DeviceProfileServices module.
*/
class FDeviceProfileServicesModule
: public IDeviceProfileServicesModule
{
public:
// Begin IDeviceProfileServicesModule interface
virtual IDeviceProfileServicesUIManagerRef GetProfileServicesManager( ) override
{
if (!DeviceProfileServicesUIManagerSingleton.IsValid())
{
DeviceProfileServicesUIManagerSingleton = MakeShareable(new FDeviceProfileServicesUIManager());
}
return DeviceProfileServicesUIManagerSingleton.ToSharedRef();
}
// End IDeviceProfileServicesModule interface
protected:
// Holds the session manager singleton.
static IDeviceProfileServicesUIManagerPtr DeviceProfileServicesUIManagerSingleton;
};
/* Static initialization
*****************************************************************************/
IDeviceProfileServicesUIManagerPtr FDeviceProfileServicesModule::DeviceProfileServicesUIManagerSingleton = NULL;
IMPLEMENT_MODULE(FDeviceProfileServicesModule, DeviceProfileServices);