Mercurial > hg > svgui
diff layer/LayerFactory.h @ 962:b12cd1c2dad5
Fix #1220 Flexi-note layer appears in Layers menu
author | Chris Cannam |
---|---|
date | Thu, 14 May 2015 14:57:42 +0100 |
parents | 765bb3774c4f |
children | a34a2a25907c |
line wrap: on
line diff
--- a/layer/LayerFactory.h Tue May 12 14:25:00 2015 +0100 +++ b/layer/LayerFactory.h Thu May 14 14:57:42 2015 +0100 @@ -57,6 +57,11 @@ typedef std::set<LayerType> LayerTypeSet; LayerTypeSet getValidLayerTypes(Model *model); + + /** + * Return the set of layer types that an end user should be + * allowed to create, empty, for subsequent editing. + */ LayerTypeSet getValidEmptyLayerTypes(); LayerType getLayerType(const Layer *);