Files
UnrealEngineUWP/Engine/Source/Developer/DeviceManager/Private/Models/DeviceDetailsFeature.h
Ben Marsh 149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00

35 lines
917 B
C

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
/** Type definition for shared pointers to instances of FDeviceDetailsFeature. */
typedef TSharedPtr<struct FDeviceDetailsFeature> FDeviceDetailsFeaturePtr;
/** Type definition for shared references to instances of FDeviceDetailsFeature. */
typedef TSharedRef<struct FDeviceDetailsFeature> FDeviceDetailsFeatureRef;
/**
* Implements a view model for the device feature list.
*/
struct FDeviceDetailsFeature
{
/** Holds the name of the feature. */
FString FeatureName;
/** Whether the feature is available. */
bool Available;
/**
* Creates and initializes a new instance.
*
* @param InFeatureName The name of the feature.
* @param InAvailable Whether the feature is available.
*/
FDeviceDetailsFeature( const FString& InFeatureName, bool InAvailable )
: FeatureName(InFeatureName)
, Available(InAvailable)
{ }
};