comparison layer/LayerFactory.h @ 997:296ccd36f626 tony-2.0-integration

Merge through to branch for Tony 2.0
author Chris Cannam
date Thu, 20 Aug 2015 14:54:21 +0100
parents b12cd1c2dad5
children a34a2a25907c
comparison
equal deleted inserted replaced
943:788b7623bfca 997:296ccd36f626
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);