| 105 | } |
| 106 | |
| 107 | int YACReaderLibraries::getId(const QString &name) const |
| 108 | { |
| 109 | auto library = std::find_if(libraries.cbegin(), libraries.cend(), [name](const YACReaderLibrary &library) { return library.getName() == name; }); |
| 110 | return library != libraries.cend() ? library->getLegacyId() : -1; |
| 111 | } |
| 112 | |
| 113 | QUuid YACReaderLibraries::getUuid(const QString &name) const |
| 114 | { |
no test coverage detected