Files
UnrealEngineUWP/Engine/Source/Developer/AutomationWindow/Private/SAutomationWindowCommandBar.h
Max Preussner 121fccd2ab Code and documentation cleanup pass
- removed dummy UClasses (no longer needed)
- removed file header comments (not used)
- removed duplicated function documentation in cpp files
- documentation cleanup, punctuation, spelling etc.
- pragma once include guards (now work on all platforms)
- relative public includes (are auto-discovered by UBT)
- fixed too many/too few line breaks
- deleted empty files
- missing override
- NULL to nullptr

[CL 2305058 by Max Preussner in Main branch]
2014-09-21 20:35:48 -04:00

50 lines
1.0 KiB
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
/**
* Implements the automation console command bar widget.
*/
class SAutomationWindowCommandBar
: public SCompoundWidget
{
public:
SLATE_BEGIN_ARGS(SAutomationWindowCommandBar) { }
/** Called when the copy log button is clicked. */
SLATE_EVENT(FOnClicked, OnCopyLogClicked)
SLATE_END_ARGS()
public:
/**
* Construct this widget
*
* @param InArgs The declaration data for this widget.
*/
void Construct( const FArguments& InArgs, const TSharedRef< SNotificationList >& InNotificationList );
/**
* Sets the number of messages selected in the log window.
*
* @param Count Number of selected messages.
*/
void SetNumLogMessages( int Count );
private:
/** Handles clicking the copy log button. */
FReply HandleCopyButtonClicked( );
private:
/** Holds the copy log button. */
TSharedPtr<SButton> CopyButton;
/** Holds a delegate that is executed when the copy log button is clicked. */
FOnClicked OnCopyLogClicked;
};