diff framework/Document.h @ 77:0535c49069ba

* Various fixes to object lifetime management, particularly in the spectrum layer and for notification of main model deletion. The main purpose of this is to improve the behaviour of the spectrum, but I think it may also help with #1840922 Various crashes in Layer Summary window.
author Chris Cannam
date Wed, 23 Jan 2008 15:43:27 +0000
parents 4aa40182321f
children 58bfaaed07ed
line wrap: on
line diff
--- a/framework/Document.h	Fri Jan 04 17:08:10 2008 +0000
+++ b/framework/Document.h	Wed Jan 23 15:43:27 2008 +0000
@@ -143,6 +143,8 @@
 
     std::vector<Model *> getTransformInputModels();
 
+    bool isKnownModel(const Model *) const;
+
     /**
      * Add a derived model associated with the given transform,
      * running the transform and returning the resulting model.