Mercurial > hg > svcore
diff plugin/transform/TransformDescription.h @ 383:94fc0591ea43 1.2-stable
* merge from trunk (1.2 ended up being tracked from trunk, but we may want
this branch for fixes later)
author | Chris Cannam |
---|---|
date | Wed, 27 Feb 2008 10:32:45 +0000 |
parents | 3179d8b29336 |
children |
line wrap: on
line diff
--- a/plugin/transform/TransformDescription.h Fri Nov 30 17:36:14 2007 +0000 +++ b/plugin/transform/TransformDescription.h Wed Feb 27 10:32:45 2008 +0000 @@ -37,6 +37,10 @@ * The friendly name is a shorter version of the name. * * The type is also intended to be user-readable, for use in menus. + * + * To obtain these objects, use + * TransformFactory::getAllTransformDescriptions and + * TransformFactory::getTransformDescription. */ struct TransformDescription @@ -62,7 +66,9 @@ bool configurable; bool operator<(const TransformDescription &od) const { - return (name < od.name); + return + (name < od.name) || + (name == od.name && identifier < od.identifier); }; };