Files
UnrealEngineUWP/Engine/Source/Editor/AudioEditor/Public/SoundCueGraphEditorCommands.h
ryan durand 627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00

55 lines
1.6 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Framework/Commands/Commands.h"
#include "EditorStyleSet.h"
/*-----------------------------------------------------------------------------
FSoundCueGraphEditorCommands
-----------------------------------------------------------------------------*/
class FSoundCueGraphEditorCommands : public TCommands<FSoundCueGraphEditorCommands>
{
public:
/** Constructor */
FSoundCueGraphEditorCommands()
: TCommands<FSoundCueGraphEditorCommands>("SoundCueGraphEditor", NSLOCTEXT("Contexts", "SoundCueGraphEditor", "SoundCue Graph Editor"), NAME_None, FEditorStyle::GetStyleSetName())
{
}
/** Plays the SoundCue */
TSharedPtr<FUICommandInfo> PlayCue;
/** Stops the currently playing cue/node */
TSharedPtr<FUICommandInfo> StopCueNode;
/** Plays the selected node */
TSharedPtr<FUICommandInfo> PlayNode;
/** Plays the SoundCue or stops the currently playing cue/node */
TSharedPtr<FUICommandInfo> TogglePlayback;
/** Selects the SoundWave in the content browser */
TSharedPtr<FUICommandInfo> BrowserSync;
/** Breaks the node input/output link */
TSharedPtr<FUICommandInfo> BreakLink;
/** Adds an input to the node */
TSharedPtr<FUICommandInfo> AddInput;
/** Removes an input from the node */
TSharedPtr<FUICommandInfo> DeleteInput;
/** 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;
};