comparison 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
comparison
equal deleted inserted replaced
960:6f97f5149cb3 962:b12cd1c2dad5
55 55
56 virtual ~LayerFactory(); 56 virtual ~LayerFactory();
57 57
58 typedef std::set<LayerType> LayerTypeSet; 58 typedef std::set<LayerType> LayerTypeSet;
59 LayerTypeSet getValidLayerTypes(Model *model); 59 LayerTypeSet getValidLayerTypes(Model *model);
60
61 /**
62 * Return the set of layer types that an end user should be
63 * allowed to create, empty, for subsequent editing.
64 */
60 LayerTypeSet getValidEmptyLayerTypes(); 65 LayerTypeSet getValidEmptyLayerTypes();
61 66
62 LayerType getLayerType(const Layer *); 67 LayerType getLayerType(const Layer *);
63 68
64 Layer *createLayer(LayerType type); 69 Layer *createLayer(LayerType type);