| 518 | } |
| 519 | |
| 520 | bool IsEnabledPlugin(const PluginDescriptor* plug) |
| 521 | { |
| 522 | if( PluginManager::Get().IsPluginLoaded(plug->GetID()) && EffectManager::Get().IsHidden(plug->GetID()) ) |
| 523 | return false; |
| 524 | if ( !plug->IsEnabled() ){ |
| 525 | return false;// don't add to menus! |
| 526 | } |
| 527 | return true; |
| 528 | } |
| 529 | |
| 530 | bool IsDefaultPlugin(const PluginDescriptor* plug) |
| 531 | { |
no test coverage detected