| 48 | } // namespace |
| 49 | |
| 50 | ModelCapabilities capabilitiesFor(const QString& model) |
| 51 | { |
| 52 | for (const auto& entry : kTable) { |
| 53 | if (model.contains(QString::fromLatin1(entry.model), |
| 54 | Qt::CaseInsensitive)) { |
| 55 | return entry.caps; |
| 56 | } |
| 57 | } |
| 58 | return {}; |
| 59 | } |
| 60 | |
| 61 | } // namespace AetherSDR |