| 476 | } |
| 477 | |
| 478 | bool CompareEffectsByType(const PluginDescriptor *a, const PluginDescriptor *b) |
| 479 | { |
| 480 | auto &em = EffectManager::Get(); |
| 481 | auto akey = em.GetEffectFamilyName(a->GetID()); |
| 482 | auto bkey = em.GetEffectFamilyName(b->GetID()); |
| 483 | |
| 484 | if (akey.empty()) |
| 485 | akey = XO("Uncategorized"); |
| 486 | if (bkey.empty()) |
| 487 | bkey = XO("Uncategorized"); |
| 488 | |
| 489 | return |
| 490 | std::make_tuple( |
| 491 | akey.Translation(), a->GetSymbol().Translation(), a->GetPath() ) < |
| 492 | std::make_tuple( |
| 493 | bkey.Translation(), b->GetSymbol().Translation(), b->GetPath() ); |
| 494 | } |
| 495 | |
| 496 | bool ComapareEffectsByTypeAndPublisher(const PluginDescriptor *a, const PluginDescriptor *b) |
| 497 | { |
nothing calls this directly
no test coverage detected