| 257 | } |
| 258 | |
| 259 | ImportHandle AUPImportPlugin::Open(const FilePath &fileName, |
| 260 | AudacityProject *project) |
| 261 | { |
| 262 | auto handle = std::make_unique<AUPImportFileHandle>(fileName, project); |
| 263 | |
| 264 | if (!handle->Open()) |
| 265 | { |
| 266 | // Error or not something that we recognize |
| 267 | return nullptr; |
| 268 | } |
| 269 | |
| 270 | return handle; |
| 271 | } |
| 272 | |
| 273 | static Importer::RegisteredImportPlugin registered |
| 274 | { |
no test coverage detected