diff framework/Document.h @ 693:3c5dc95bea91 by-id

Tidy
author Chris Cannam
date Wed, 17 Jul 2019 13:28:37 +0100
parents c8ba09756eff
children a27a6113fdd7
line wrap: on
line diff
--- a/framework/Document.h	Wed Jul 17 11:20:24 2019 +0100
+++ b/framework/Document.h	Wed Jul 17 13:28:37 2019 +0100
@@ -158,21 +158,13 @@
      * transformer process, and the layers are returned through a
      * subsequent call to the provided handler (which must be
      * non-null). The handle returned will be passed through to the
-     * handler callback, and may be also used for cancelling the task.
+     * handler callback.
      */
     LayerCreationAsyncHandle createDerivedLayersAsync(const Transforms &,
                                                       const ModelTransformer::Input &,
                                                       LayerCreationHandler *handler);
 
     /**
-     * Indicate that the async layer creation task associated with the
-     * given handle should be cancelled. There is no guarantee about
-     * what this will mean, and the handler callback may still be
-     * called.
-     */
-    void cancelAsyncLayerCreation(LayerCreationAsyncHandle handle);
-
-    /**
      * Delete the given layer, and also its associated model if no
      * longer used by any other layer.  In general, this should be the
      * only method used to delete layers -- doing so directly is a bit
@@ -196,7 +188,11 @@
     
     std::vector<ModelId> getTransformInputModels();
 
-    //??? investigate & document
+    /**
+     * Return true if the model id is known to be the main model or
+     * one of the other existing models that can be shown in a new
+     * layer.
+     */
     bool isKnownModel(ModelId) const;
 
     /**