35 lines
1014 B
C++
35 lines
1014 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Modules/ModuleInterface.h"
|
|
#include "Framework/Docking/TabManager.h"
|
|
#include "RewindDebuggerCamera.h"
|
|
#include "RewindDebuggerAnimation.h"
|
|
|
|
class SRewindDebugger;
|
|
class SRewindDebuggerDetails;
|
|
|
|
class FRewindDebuggerModule : public IModuleInterface
|
|
{
|
|
public:
|
|
// IModuleInterface interface
|
|
virtual void StartupModule() override;
|
|
virtual void ShutdownModule() override;
|
|
|
|
TSharedRef<SDockTab> SpawnRewindDebuggerTab(const FSpawnTabArgs& SpawnTabArgs);
|
|
static TSharedRef<SDockTab> SpawnRewindDebuggerDetailsTab(const FSpawnTabArgs& SpawnTabArgs);
|
|
|
|
static const FName MainTabName;
|
|
static const FName DetailsTabName;
|
|
static const FName MainMenuName;
|
|
static const FName TrackContextMenuName;
|
|
|
|
private:
|
|
TSharedPtr<SRewindDebugger> RewindDebuggerWidget;
|
|
TSharedPtr<SRewindDebuggerDetails> RewindDebuggerDetailsWidget;
|
|
|
|
FRewindDebuggerCamera RewindDebuggerCameraExtension;
|
|
FRewindDebuggerAnimation RewindDebuggerAnimationExtension;
|
|
};
|