comparison framework/Document.cpp @ 51:e41af8419d4a

* Remove alignment button altogether if no Match plugin installed. Then it won't annoy people who really don't want it; they can get rid of it easily enough.
author Chris Cannam
date Thu, 01 Nov 2007 17:24:38 +0000
parents a8bb5b2aca4c
children 43ad8d909e28
comparison
equal deleted inserted replaced
50:a8bb5b2aca4c 51:e41af8419d4a
669 669
670 return models; 670 return models;
671 } 671 }
672 672
673 bool 673 bool
674 Document::canAlign() const 674 Document::canAlign()
675 { 675 {
676 TransformId id = "vamp:match-vamp-plugin:match:path"; 676 TransformId id = "vamp:match-vamp-plugin:match:path";
677 TransformFactory *factory = TransformFactory::getInstance(); 677 TransformFactory *factory = TransformFactory::getInstance();
678 return factory->haveTransform(id); 678 return factory->haveTransform(id);
679 } 679 }