Files
UnrealEngineUWP/Engine/Source/Editor/AudioEditor/Public/SoundCueGraphEditorCommands.h
Ben Marsh 20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00

49 lines
1.4 KiB
C++

// Copyright 1998-2017 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;
/** Initialize commands */
virtual void RegisterCommands() override;
};