Mercurial > hg > svapp
comparison framework/Document.h @ 697:a27a6113fdd7
Restore/reimplement cancelAsyncLayerCreation - I had forgotten Tony uses it
author | Chris Cannam |
---|---|
date | Thu, 18 Jul 2019 14:12:00 +0100 |
parents | 3c5dc95bea91 |
children | 6429a164b7e1 |
comparison
equal
deleted
inserted
replaced
696:155008f1bf10 | 697:a27a6113fdd7 |
---|---|
163 LayerCreationAsyncHandle createDerivedLayersAsync(const Transforms &, | 163 LayerCreationAsyncHandle createDerivedLayersAsync(const Transforms &, |
164 const ModelTransformer::Input &, | 164 const ModelTransformer::Input &, |
165 LayerCreationHandler *handler); | 165 LayerCreationHandler *handler); |
166 | 166 |
167 /** | 167 /** |
168 * Indicate that the async layer creation task associated with the | |
169 * given handle should be cancelled. There is no guarantee about | |
170 * what this will mean, and the handler callback may still be | |
171 * called. | |
172 */ | |
173 void cancelAsyncLayerCreation(LayerCreationAsyncHandle handle); | |
174 | |
175 /** | |
168 * Delete the given layer, and also its associated model if no | 176 * Delete the given layer, and also its associated model if no |
169 * longer used by any other layer. In general, this should be the | 177 * longer used by any other layer. In general, this should be the |
170 * only method used to delete layers -- doing so directly is a bit | 178 * only method used to delete layers -- doing so directly is a bit |
171 * of a social gaffe. | 179 * of a social gaffe. |
172 */ | 180 */ |