Files
UnrealEngineUWP/Engine/Source/Editor/ContentBrowser/Private/ContentBrowserCommands.h
Marc Audy 11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00

34 lines
862 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "EditorStyleSet.h"
#include "Framework/Commands/Commands.h"
class FContentBrowserCommands
: public TCommands<FContentBrowserCommands>
{
public:
/** Default constructor. */
FContentBrowserCommands()
: TCommands<FContentBrowserCommands>(TEXT("ContentBrowser"), NSLOCTEXT( "ContentBrowser", "ContentBrowser", "Content Browser" ), NAME_None, FEditorStyle::GetStyleSetName() )
{ }
public:
//~ TCommands interface
virtual void RegisterCommands() override;
public:
TSharedPtr<FUICommandInfo> CreateNewFolder;
TSharedPtr<FUICommandInfo> OpenAssetsOrFolders;
TSharedPtr<FUICommandInfo> PreviewAssets;
TSharedPtr<FUICommandInfo> SaveSelectedAsset;
TSharedPtr<FUICommandInfo> SaveAllCurrentFolder;
TSharedPtr<FUICommandInfo> ResaveAllCurrentFolder;
};