Files
UnrealEngineUWP/Engine/Source/Developer/Profiler/Public/Interfaces/IProfilerModule.h
2014-03-14 14:13:41 -04:00

31 lines
917 B
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
IProfilerModule.h: Declares the IProfilerModule interface.
=============================================================================*/
#pragma once
/**
* Interface for the profiler module.
*/
class IProfilerModule
: public IModuleInterface
{
public:
/**
* Creates the main window for the profiler.
*
* @param InSessionManager - the session manager to use
* @param ConstructUnderMajorTab - the tab which will contain the profiler tabs
*
*/
virtual TSharedRef<SWidget> CreateProfilerWindow( const ISessionManagerRef& InSessionManager, const TSharedRef<SDockTab>& ConstructUnderMajorTab ) = 0;
/**
* @return a weak pointer to the global instance of the profiler manager.
*/
virtual TWeakPtr<class IProfilerManager> GetProfilerManager() = 0;
};