#include <vector>
-#include <plib/sg.h>
#include <simgear/compiler.h>
#include <simgear/props/props.hxx>
#include <simgear/math/SGMath.hxx>
unsigned id;
// While the type isn't transmitted, it is needed for the destructor
- SGPropertyNode::Type type;
+ simgear::props::Type type;
union {
int int_value;
float float_value;
};
~FGPropertyData() {
- if ((type == SGPropertyNode::STRING) || (type == SGPropertyNode::UNSPECIFIED))
+ if ((type == simgear::props::STRING) || (type == simgear::props::UNSPECIFIED))
{
delete [] string_value;
}