Mercurial > hg > svcore
comparison transform/TransformFactory.cpp @ 77:2beca8ddcdc3
* Add BZipFileDevice to handle bzip2 compress/uncompress without all that
ugly code in MainWindow.cpp
* Remove all that ugly code in MainWindow.cpp and replace with uses of
BZipFileDevice
* Fix layer import/export for SV XML layers
* and a few other minor fixes
| author | Chris Cannam |
|---|---|
| date | Wed, 12 Apr 2006 09:59:40 +0000 |
| parents | 7afcfe666910 |
| children | 9e027aa5b5c3 |
comparison
equal
deleted
inserted
replaced
| 76:af2725b5d6fe | 77:2beca8ddcdc3 |
|---|---|
| 421 channel, | 421 channel, |
| 422 configurationXml, | 422 configurationXml, |
| 423 getTransformUnits(name), | 423 getTransformUnits(name), |
| 424 output.toInt()); | 424 output.toInt()); |
| 425 } else { | 425 } else { |
| 426 std::cerr << "TransformFactory::createTransform: Unknown transform " | 426 std::cerr << "TransformFactory::createTransform: Unknown transform \"" |
| 427 << name.toStdString() << std::endl; | 427 << name.toStdString() << "\"" << std::endl; |
| 428 return transform; | |
| 428 } | 429 } |
| 429 | 430 |
| 430 if (start && transform) transform->start(); | 431 if (start && transform) transform->start(); |
| 431 transform->setObjectName(name); | 432 transform->setObjectName(name); |
| 432 return transform; | 433 return transform; |
