Files
UnrealEngineUWP/Engine/Source/Editor/DeviceProfileEditor/Private/DeviceProfileConsoleVariableColumn.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

47 lines
1.5 KiB
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "IPropertyTableCustomColumn.h"
/** Delegate triggered when user opts to edit CVars **/
DECLARE_DELEGATE_OneParam(FOnEditDeviceProfileCVarsRequestDelegate, const TWeakObjectPtr<UDeviceProfile>&);
/**
* A property table custom column used to bring the user to an editor which
* will manage the list of Console Variables associated with the device profile
*/
class FDeviceProfileConsoleVariableColumn : public IPropertyTableCustomColumn
{
public:
FDeviceProfileConsoleVariableColumn();
public:
// IPropertyTableCustomColumn interface
virtual bool Supports( const TSharedRef< IPropertyTableColumn >& Column, const TSharedRef< IPropertyTableUtilities >& Utilities ) const override;
virtual TSharedPtr< SWidget > CreateColumnLabel( const TSharedRef< IPropertyTableColumn >& Column, const TSharedRef< IPropertyTableUtilities >& Utilities, const FName& Style ) const override;
virtual TSharedPtr< IPropertyTableCellPresenter > CreateCellPresenter( const TSharedRef< IPropertyTableCell >& Cell, const TSharedRef< IPropertyTableUtilities >& Utilities, const FName& Style ) const override;
public:
/**
* Delegate used to notify listeners that an edit request was triggered from the property table.
*
* @return The delegate.
*/
FOnEditDeviceProfileCVarsRequestDelegate& OnEditCVarsRequest()
{
return OnEditCVarsRequestDelegate;
}
private:
/** Delegate triggered when user opts to edit CVars. **/
FOnEditDeviceProfileCVarsRequestDelegate OnEditCVarsRequestDelegate;
};