]> git.mxchange.org Git - simgear.git/blobdiff - simgear/structure/SGBinding.hxx
Improve pick-callback enabled testing.
[simgear.git] / simgear / structure / SGBinding.hxx
index ef573a014b01e36b9732ed72b6a0900a29bdd558..6ec2bc68ad64ad6aedfb6f5c4eb92f727e74074c 100644 (file)
@@ -171,4 +171,10 @@ SGBindingList readBindingList(const simgear::PropertyList& aNodes, SGPropertyNod
  */
 void clearBindingList(const SGBindingList& aBindings);
 
+/**
+ * check if at least one binding in the list is enabled. Returns false if bindings
+ * list is empty, or all bindings are conditinally disabled.
+ */
+bool anyBindingEnabled(const SGBindingList& bindings);
+
 #endif