diff layer/Layer.h @ 1480:232262e38051 by-id

Update for changes to PlayParameters
author Chris Cannam
date Thu, 04 Jul 2019 18:04:44 +0100
parents 11a150e65ee1
children e540aa5d89cd
line wrap: on
line diff
--- a/layer/Layer.h	Wed Jul 03 14:20:42 2019 +0100
+++ b/layer/Layer.h	Thu Jul 04 18:04:44 2019 +0100
@@ -411,7 +411,12 @@
      */
     virtual bool isLayerDormant(const LayerGeometryProvider *v) const;
 
-    PlayParameters *getPlayParameters() override;
+    /**
+     * Return the play parameters for this layer, if any. The return
+     * value is a shared_ptr that can be passed to (e.g.)
+     * PlayParameterRepository::EditCommand to change the parameters.
+     */
+    std::shared_ptr<PlayParameters> getPlayParameters() override;
 
     /**
      * True if this layer will need to place text labels when it is