Files
UnrealEngineUWP/Engine/Source/Developer/SessionLauncher/Private/Models/SessionLauncherCommands.h
Max Preussner 3aece47882 Docs: Removed file comments and added missing code documentation
Please note that file comments had no purpose in nearly all cases and just added visual clutter. The two files that had meaningful file comments had their comments moved into the corresponding classes. There are still hundreds of file comments left in other files that will be removed over time.

Also cleaned up some random stuff along the way:
- relative paths to public headers within the same module are no longer necessary (automatically discovered by UBT now)
- header guards are deprecated, use #pragma once instead (all compilers support it now)
- space between multiple template brackets is no longer required (all compilers support >> now)
- NULL to nullptr, OVERRIDE to override
- spelling errors, whitespace, line breaks

[CL 2104067 by Max Preussner in Main branch]
2014-06-12 23:22:18 -04:00

53 lines
1.7 KiB
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
/**
* The session launcher UI commands
*/
class FSessionLauncherCommands : public TCommands<FSessionLauncherCommands>
{
public:
/**
* Default constructor.
*/
FSessionLauncherCommands( )
: TCommands<FSessionLauncherCommands>(
"LauncherCommand",
NSLOCTEXT("Contexts", "LauncherCommand", "Launcher Command"),
NAME_None,
FEditorStyle::GetStyleSetName()
)
{ }
public:
// TCommands interface
PRAGMA_DISABLE_OPTIMIZATION
virtual void RegisterCommands( ) override
{
UI_COMMAND(QuickLaunch, "Quick Launch", "Builds, cooks, and launches a build.", EUserInterfaceActionType::ToggleButton, FInputGesture(EModifierKey::Control, EKeys::L));
UI_COMMAND(CreateBuild, "Build", "Creates a build.", EUserInterfaceActionType::ToggleButton, FInputGesture(EModifierKey::Control, EKeys::B));
UI_COMMAND(DeployBuild, "Deploy Build", "Deploys a pre-made build.", EUserInterfaceActionType::ToggleButton, FInputGesture(EModifierKey::Control, EKeys::D));
UI_COMMAND(AdvancedBuild, "Advanced...", "Advanced launcher.", EUserInterfaceActionType::ToggleButton, FInputGesture(EModifierKey::Control, EKeys::A));
}
PRAGMA_ENABLE_OPTIMIZATION
public:
/** Toggles the data capture for all session instances. Global and custom command. */
TSharedPtr<FUICommandInfo> CreateBuild;
/** Toggles the data preview for all session instances. Global and custom command. */
TSharedPtr<FUICommandInfo> DeployBuild;
/** Toggles the data capture for all session instances. Global and custom command. */
TSharedPtr<FUICommandInfo> QuickLaunch;
/** Toggles the data capture for all session instances. Global and custom command. */
TSharedPtr<FUICommandInfo> AdvancedBuild;
};