Files
UnrealEngineUWP/Engine/Source/Editor/VirtualizationEditor/Public/VirtualizationEditorModule.h
paul chipchase 3eb268abbb Create a new module 'VirtualizationEditor' and move the existing VA editor code there from the 'DerivedDataEditor'
#rb Per.Larsson
#jira UE-162600
#rnx
#preflight 631597667562a90dfa991913

- Up until now we have been piggybacking off the DDC editor module as the VA statistics panel was originally based on the DDC statistic panel but now we are starting to do more VA editor/UX work so we should probably have our own module.
- This does mean we need to remove the the VA statistics panel from the DDC status bar, but it didn't really belong there and the panel can still be opened via the menu 'Tool->Audit->Virtual Assets'

[CL 21790583 by paul chipchase in ue5-main branch]
2022-09-05 06:19:34 -04:00

29 lines
673 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Modules/ModuleInterface.h"
#include "Templates/SharedPointer.h"
class SWidget;
class SDockTab;
class FSpawnTabArgs;
/**
* The module holding all of the UI related pieces for the Virtualization module
*/
class FVirtualizationEditorModule : public IModuleInterface
{
private:
virtual void StartupModule() override;
virtual void ShutdownModule() override;
void ShowVirtualAssetsStatisticsTab();
TSharedPtr<SWidget> CreateVirtualAssetsStatisticsDialog();
TSharedRef<SDockTab> CreateVirtualAssetsStatisticsTab(const FSpawnTabArgs& Args);
TWeakPtr<SDockTab> VirtualAssetsStatisticsTab;
};