]> git.mxchange.org Git - simgear.git/blobdiff - simgear/props/condition.hxx
Collect properties from expression/condition trees.
[simgear.git] / simgear / props / condition.hxx
index 719f68795411ad609664557e4079d5494f3be63f..128cdfaf0c85fd374c723616af6335712a2c9f12 100644 (file)
 #ifndef __SG_CONDITION_HXX
 #define __SG_CONDITION_HXX
 
-#include <simgear/debug/logstream.hxx>
-#include <simgear/props/props.hxx>
-#include <simgear/props/props_io.hxx>
+#include <set>
 #include <simgear/structure/SGReferenced.hxx>
-\f
+#include <simgear/structure/SGSharedPtr.hxx>
+
+class SGPropertyNode;
+
 ////////////////////////////////////////////////////////////////////////
 // Conditions.
 ////////////////////////////////////////////////////////////////////////
@@ -34,6 +35,7 @@ public:
   SGCondition ();
   virtual ~SGCondition ();
   virtual bool test () const = 0;
+  virtual void collectDependentProperties(std::set<const SGPropertyNode*>& props) const { }
 };