Files
UnrealEngineUWP/Engine/Source/Editor/DeviceProfileServices/Private/DeviceProfileServicesModule.cpp
Max Preussner 121fccd2ab Code and documentation cleanup pass
- removed dummy UClasses (no longer needed)
- removed file header comments (not used)
- removed duplicated function documentation in cpp files
- documentation cleanup, punctuation, spelling etc.
- pragma once include guards (now work on all platforms)
- relative public includes (are auto-discovered by UBT)
- fixed too many/too few line breaks
- deleted empty files
- missing override
- NULL to nullptr

[CL 2305058 by Max Preussner in Main branch]
2014-09-21 20:35:48 -04:00

39 lines
1.0 KiB
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#include "DeviceProfileServicesPCH.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);