| 69 | } |
| 70 | |
| 71 | std::tuple<ExportPlugin*, int> |
| 72 | ExportPluginRegistry::FindFormat(const wxString& format, bool compareWithCase) const |
| 73 | { |
| 74 | for(auto t: *this) |
| 75 | { |
| 76 | const auto [plugin, formatIndex] = t; |
| 77 | if(plugin->GetFormatInfo(formatIndex).format.IsSameAs(format, compareWithCase)) |
| 78 | return t; |
| 79 | } |
| 80 | return {}; |
| 81 | } |
no test coverage detected