Mercurial > hg > svcore
diff transform/TransformFactory.h @ 47:bac8b14ab355
* Add menu for re-adding existing layers
* Fix layer tree window so that it at least approximates correct
* Add bundled operations in command history, for use with things like
multiple consecutive changes to a parameter value
* Disambiguate plugins that happen to have identical descriptions
* Add spectral centroid plugin (could use some parameters!)
* Some other fixes
author | Chris Cannam |
---|---|
date | Fri, 17 Mar 2006 17:38:28 +0000 |
parents | 4563a72c1d8b |
children | 39ae3dee27b9 |
line wrap: on
line diff
--- a/transform/TransformFactory.h Thu Mar 16 18:46:00 2006 +0000 +++ b/transform/TransformFactory.h Fri Mar 17 17:38:28 2006 +0000 @@ -24,8 +24,10 @@ static TransformFactory *instance(); // The name is intended to be computer-referencable, and unique - // within the application. The description should be - // human-readable, and does not have to be unique. + // within the application. The description is intended to be + // human readable. In principle it doesn't have to be unique, but + // the factory will add suffixes to ensure that it is, all the + // same (just to avoid user confusion). struct TransformDesc { TransformDesc(TransformName _name, QString _description = "") :