Files
UnrealEngineUWP/Engine/Source/Developer/SessionFrontend/Private/Models/SessionConsoleCommands.h
Max Preussner bb510c7095 SessionFrontend: Documentation and formatting cleanup pass
[CL 2095379 by Max Preussner in Main branch]
2014-06-05 00:03:19 -04:00

48 lines
1.3 KiB
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
SessionConsoleCommands.h: Declares the FSessionConsoleCommands class.
=============================================================================*/
#pragma once
/**
* The device details commands
*/
class FSessionConsoleCommands
: public TCommands<FSessionConsoleCommands>
{
public:
/**
* Default constructor.
*/
FSessionConsoleCommands( )
: TCommands<FSessionConsoleCommands>(
"SessionConsole",
NSLOCTEXT("Contexts", "SessionConsole", "Session Console"),
NAME_None, FEditorStyle::GetStyleSetName()
)
{ }
public:
// Begin TCommands interface
virtual void RegisterCommands( ) OVERRIDE
{
UI_COMMAND(Clear, "Clear Log", "Clear the log window", EUserInterfaceActionType::Button, FInputGesture());
UI_COMMAND(SessionCopy, "Copy", "Copy the selected log messages to the clipboard", EUserInterfaceActionType::Button, FInputGesture());
UI_COMMAND(SessionSave, "Save Log...", "Save the entire log to a file", EUserInterfaceActionType::ToggleButton, FInputGesture());
}
// End TCommands interface
public:
TSharedPtr<FUICommandInfo> Clear;
TSharedPtr<FUICommandInfo> SessionCopy;
TSharedPtr<FUICommandInfo> SessionSave;
};