]> git.mxchange.org Git - simgear.git/blobdiff - simgear/hla/HLADataType.hxx
hla: Add new header containing some enums.
[simgear.git] / simgear / hla / HLADataType.hxx
index 23fb5070d5ca48ece7040d7d39494bcbe4fcd091..c792edd2c46ffe861b55437a93cda7a84f2fafa2 100644 (file)
@@ -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);