Files
UnrealEngineUWP/Engine/Source/Developer/DeviceManager/Private/Models/DeviceDetailsFeature.h
2014-04-02 18:09:23 -04:00

47 lines
1.1 KiB
C

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
FDeviceDetailsFeature.h: Declares the FDeviceDetailsFeature class.
=============================================================================*/
#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)
{ }
};