Determines if this plugin is androgynous. It is considered androgynous if the long name plugin is not shown according to settings. @return true to use androgynous description, false to use normal description.
| 82 | // @return true to use androgynous description, false to use normal description. |
| 83 | // |
| 84 | bool ShortNamePlugin::IsAndrogynous() const |
| 85 | { |
| 86 | assert(m_pSettings != nullptr); |
| 87 | |
| 88 | return m_pSettings != nullptr && |
| 89 | m_pSettings->GetDropRedundantWords() && |
| 90 | !PluginUtils::IsPluginShown(*m_pSettings, LongNamePlugin::ID); |
| 91 | } |
| 92 | |
| 93 | } // namespace Plugins |
| 94 |
nothing calls this directly
no test coverage detected