Mercurial > hg > svgui
diff view/View.h @ 841:532302d04571
Add const version of this accessor
author | Chris Cannam |
---|---|
date | Tue, 02 Sep 2014 16:18:26 +0100 |
parents | 6c4cab21e387 |
children | 99373ca20caf a1226b3b7925 |
line wrap: on
line diff
--- a/view/View.h Tue Sep 02 16:14:22 2014 +0100 +++ b/view/View.h Tue Sep 02 16:18:26 2014 +0100 @@ -195,6 +195,8 @@ */ virtual Layer *getInteractionLayer(); + virtual const Layer *getInteractionLayer() const; + /** * Return the layer most recently selected by the user. This is * the layer that any non-tool-driven commands should operate on,