Removes DoubleDataInterface from Gems/GraphCanvas
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
-37
@@ -1,37 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "DataInterface.h"
|
||||
#include "NumericDataInterface.h"
|
||||
|
||||
namespace GraphCanvas
|
||||
{
|
||||
// Deprecated name for the NumericDataInterface
|
||||
class DoubleDataInterface
|
||||
: public NumericDataInterface
|
||||
{
|
||||
public:
|
||||
AZ_DEPRECATED(DoubleDataInterface(), "DoubleDataInterface renamed to NumericDataInterface")
|
||||
{
|
||||
}
|
||||
|
||||
virtual double GetDouble() const = 0;
|
||||
virtual void SetDouble(double value) = 0;
|
||||
|
||||
double GetNumber() const override final
|
||||
{
|
||||
return GetDouble();
|
||||
}
|
||||
|
||||
void SetNumber(double value) override final
|
||||
{
|
||||
SetDouble(value);
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -135,7 +135,7 @@ namespace GraphCanvas
|
||||
//! The PropertyDisplay will take ownership of the DataInterface
|
||||
virtual NodePropertyDisplay* CreateBooleanNodePropertyDisplay(BooleanDataInterface* dataInterface) const = 0;
|
||||
|
||||
//! Creates a DoubleNodeProperty display using the specified DoubleDataInterface
|
||||
//! Creates a DoubleNodeProperty display using the specified NumericDataInterface
|
||||
//! param: dataInterface is the interface to local data to be used in the operation of the NodePropertyDisplay.
|
||||
//! The PropertyDisplay will take ownership of the DataInterface
|
||||
virtual NodePropertyDisplay* CreateNumericNodePropertyDisplay(NumericDataInterface* dataInterface) const = 0;
|
||||
|
||||
@@ -50,7 +50,6 @@ set(FILES
|
||||
StaticLib/GraphCanvas/Components/NodePropertyDisplay/BooleanDataInterface.h
|
||||
StaticLib/GraphCanvas/Components/NodePropertyDisplay/ComboBoxDataInterface.h
|
||||
StaticLib/GraphCanvas/Components/NodePropertyDisplay/DataInterface.h
|
||||
StaticLib/GraphCanvas/Components/NodePropertyDisplay/DoubleDataInterface.h
|
||||
StaticLib/GraphCanvas/Components/NodePropertyDisplay/EntityIdDataInterface.h
|
||||
StaticLib/GraphCanvas/Components/NodePropertyDisplay/NodePropertyDisplay.cpp
|
||||
StaticLib/GraphCanvas/Components/NodePropertyDisplay/NodePropertyDisplay.h
|
||||
|
||||
@@ -8,9 +8,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
// Graph Canvas
|
||||
#include <GraphCanvas/Components/NodePropertyDisplay/DoubleDataInterface.h>
|
||||
|
||||
// Graph Model
|
||||
#include <GraphModel/Model/Slot.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user