Files
UnrealEngineUWP/Engine/Source/Editor/AudioEditor/Public/SoundClassEditorCommands.h
bryan sefcik 8cc129f2b6 IWYU Pass 1 - Engine/Source/Editor/...
#jira
#preflight 6306736ac85b7fef22be7751

[CL 21558583 by bryan sefcik in ue5-main branch]
2022-08-24 22:45:13 -04:00

37 lines
1.1 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Framework/Commands/Commands.h"
#include "Internationalization/Internationalization.h"
#include "Styling/AppStyle.h"
#include "Templates/SharedPointer.h"
#include "UObject/NameTypes.h"
#include "UObject/UnrealNames.h"
class FUICommandInfo;
/*-----------------------------------------------------------------------------
FSoundCueGraphEditorCommands
-----------------------------------------------------------------------------*/
class FSoundClassEditorCommands : public TCommands<FSoundClassEditorCommands>
{
public:
/** Constructor */
FSoundClassEditorCommands()
: TCommands<FSoundClassEditorCommands>("SoundClassEditor", NSLOCTEXT("Contexts", "SoundClassEditor", "SoundClass Editor"), NAME_None, FAppStyle::GetAppStyleSetName())
{
}
/** Plays the SoundCue or stops the currently playing cue/node */
TSharedPtr<FUICommandInfo> ToggleSolo;
/** Plays the SoundCue or stops the currently playing cue/node */
TSharedPtr<FUICommandInfo> ToggleMute;
/** Initialize commands */
virtual void RegisterCommands() override;
};