Files
UnrealEngineUWP/Engine/Source/Editor/ContentBrowser/Private/ContentBrowserModule.cpp
Ben Marsh 149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00

31 lines
654 B
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "ContentBrowserPCH.h"
#include "ModuleManager.h"
#include "ContentBrowserModule.h"
IMPLEMENT_MODULE( FContentBrowserModule, ContentBrowser );
DEFINE_LOG_CATEGORY(LogContentBrowser);
void FContentBrowserModule::StartupModule()
{
ContentBrowserSingleton = new FContentBrowserSingleton();
}
void FContentBrowserModule::ShutdownModule()
{
if ( ContentBrowserSingleton )
{
delete ContentBrowserSingleton;
ContentBrowserSingleton = NULL;
}
}
IContentBrowserSingleton& FContentBrowserModule::Get() const
{
check(ContentBrowserSingleton);
return *ContentBrowserSingleton;
}