X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fhla%2FHLADataType.hxx;h=c792edd2c46ffe861b55437a93cda7a84f2fafa2;hb=63081c94a1e65d20b6e2680f2238f92c5be2bc76;hp=23fb5070d5ca48ece7040d7d39494bcbe4fcd091;hpb=baf511684119e219906fa37f3e7c7f43151bb435;p=simgear.git diff --git a/simgear/hla/HLADataType.hxx b/simgear/hla/HLADataType.hxx index 23fb5070..c792edd2 100644 --- a/simgear/hla/HLADataType.hxx +++ b/simgear/hla/HLADataType.hxx @@ -32,14 +32,7 @@ class HLABasicDataType; class HLAArrayDataType; class HLAEnumeratedDataType; class HLAFixedRecordDataType; -class HLAVariantDataType; - -enum HLAUpdateType { - HLAStaticUpdate, - HLAPeriodicUpdate, - HLAConditionalUpdate, - HLAUndefinedUpdate -}; +class HLAVariantRecordDataType; class HLADataType : public SGWeakReferenced { public: @@ -63,7 +56,9 @@ public: virtual const HLAArrayDataType* toArrayDataType() const; virtual const HLAEnumeratedDataType* toEnumeratedDataType() const; virtual const HLAFixedRecordDataType* toFixedRecordDataType() const; - virtual const HLAVariantDataType* toVariantDataType() const; + /// deprecated + const HLAVariantRecordDataType* toVariantDataType() const { return toVariantRecordDataType(); } + virtual const HLAVariantRecordDataType* toVariantRecordDataType() const; protected: HLADataType(const std::string& name, unsigned alignment = 1);