Files
UnrealEngineUWP/Engine/Source/Developer/CollisionAnalyzer/Public/CollisionAnalyzerModule.h
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

35 lines
876 B
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ICollisionAnalyzer.h"
#include "Slate.h"
class FCollisionAnalyzerModule : public IModuleInterface
{
public:
// Begin IModuleInterface
virtual void StartupModule() override;
virtual void ShutdownModule() override;
// End IModuleInterface
/** Gets the debugger singleton or returns NULL */
static ICollisionAnalyzer* Get()
{
FCollisionAnalyzerModule& DebuggerModule = FModuleManager::Get().LoadModuleChecked<FCollisionAnalyzerModule>("CollisionAnalyzer");
return DebuggerModule.GetSingleton();
}
private:
virtual ICollisionAnalyzer* GetSingleton() const
{
return CollisionAnalyzer;
}
/** Spawns the Collision Analyzer tab in an SDockTab */
TSharedRef<class SDockTab> SpawnCollisionAnalyzerTab(const FSpawnTabArgs& Args);
ICollisionAnalyzer* CollisionAnalyzer;
};