2019-12-26 15:33:43 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2019-09-25 18:22:01 -04:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
|
#include "Framework/Commands/Commands.h"
|
2022-05-09 13:12:28 -04:00
|
|
|
#include "Styling/AppStyle.h"
|
2019-09-25 18:22:01 -04:00
|
|
|
|
|
|
|
|
/*-----------------------------------------------------------------------------
|
|
|
|
|
FSoundCueGraphEditorCommands
|
|
|
|
|
-----------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
class FSoundClassEditorCommands : public TCommands<FSoundClassEditorCommands>
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
/** Constructor */
|
|
|
|
|
FSoundClassEditorCommands()
|
2022-05-09 13:12:28 -04:00
|
|
|
: TCommands<FSoundClassEditorCommands>("SoundClassEditor", NSLOCTEXT("Contexts", "SoundClassEditor", "SoundClass Editor"), NAME_None, FAppStyle::GetAppStyleSetName())
|
2019-09-25 18:22:01 -04:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** 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;
|
|
|
|
|
};
|