Files
UnrealEngineUWP/Engine/Source/Runtime/GameMenuBuilder/Public/GameMenuBuilderModule.h
bruce nesbit c03d1acdd4 Added GameMenuBuilder module.
[CL 2130251 by bruce nesbit in Main branch]
2014-07-03 06:52:57 -04:00

28 lines
650 B
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ModuleManager.h"
/**
* The public interface to this module
*/
class IGameMenuBuilderModule : public IModuleInterface
{
public:
/**
* Singleton-like access to this module's interface. This is just for convenience!
* Beware of calling this during the shutdown phase, though. Your module might have been unloaded already.
*
* @return Returns singleton instance, loading the module on demand if needed
*/
static inline IGameMenuBuilderModule& Get()
{
return FModuleManager::LoadModuleChecked< IGameMenuBuilderModule >("GameMenuBuilder");
}
};