Removes DoubleDataInterface from Gems/GraphCanvas
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>monroegm-disable-blank-issue-2
parent
886a9631c7
commit
592a7dd9b3
@ -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);
|
||||
}
|
||||
};
|
||||
}
|
||||
Loading…
Reference in New Issue