Files
UnrealEngineUWP/Engine/Source/Editor/AudioEditor/Public/SoundClassEditorCommands.h

31 lines
960 B
C
Raw Normal View History

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Framework/Commands/Commands.h"
#include "Styling/AppStyle.h"
/*-----------------------------------------------------------------------------
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;
};