Files
UnrealEngineUWP/Engine/Source/Developer/OutputLog/Private/OutputLogActions.h
Jaroslaw Palczynski ebce413232 UE4 Refactoring. Changed OVERRIDE and FINAL macros to keywords override and final.
[CL 2104397 by Jaroslaw Palczynski in Main branch]
2014-06-13 06:14:46 -04:00

50 lines
993 B
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
class FOutputLogCommandsImpl : public TCommands<FOutputLogCommandsImpl>
{
public:
FOutputLogCommandsImpl() : TCommands<FOutputLogCommandsImpl>
(
"OutputLog", // Context name for fast lookup
NSLOCTEXT("Contexts", "OutputLog", "Output Log"), // Localized context name for displaying
NAME_None, // Parent
FEditorStyle::GetStyleSetName() // Icon Style Set
)
{
}
/**
* Initialize commands
*/
virtual void RegisterCommands() override;
public:
/** Copy command */
TSharedPtr< FUICommandInfo > CopyOutputLog;
/** SelectAll command */
TSharedPtr< FUICommandInfo > SelectAllInOutputLog;
/** SelectNone command */
TSharedPtr< FUICommandInfo > SelectNoneInOutputLog;
/** DeleteAll command */
TSharedPtr< FUICommandInfo > ClearOutputLog;
};
class OUTPUTLOG_API FOutputLogCommands
{
public:
static void Register();
static const FOutputLogCommandsImpl& Get();
static void Unregister();
};