2014-12-07 19:09:38 -05:00
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
#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;
|
|
|
|
|
|
|
|
|
|
}
|