Mercurial > hg > svgui
diff layer/SliceableLayer.h @ 1469:11a150e65ee1 by-id
Some work on updating layers for ModelId bits
author | Chris Cannam |
---|---|
date | Thu, 27 Jun 2019 13:16:25 +0100 |
parents | 05d614f6e46d |
children | 4eafe5a1b655 |
line wrap: on
line diff
--- a/layer/SliceableLayer.h Thu Jun 13 15:35:01 2019 +0100 +++ b/layer/SliceableLayer.h Thu Jun 27 13:16:25 2019 +0100 @@ -34,14 +34,15 @@ // spectrogram that was constructed from a DenseTimeValueModel). // The SliceableLayer retains ownership of the model, and will // emit sliceableModelReplaced if it is about to become invalid. - virtual const Model *getSliceableModel() const = 0; - + virtual ModelId getSliceableModel() const = 0; +/*!!! signals: // Emitted when a model that was obtained through // getSliceableModel is about to be deleted. If replacement is // non-NULL, it may be used instead. void sliceableModelReplaced(const Model *modelToBeReplaced, const Model *replacement); +*/ }; #endif