Determines if this plugin is androgynous. It is considered androgynous if the long path plugin is not shown according to settings. @return true to use androgynous description, false to use normal description.
| 102 | // @return true to use androgynous description, false to use normal description. |
| 103 | // |
| 104 | bool ShortPathPlugin::IsAndrogynous() const |
| 105 | { |
| 106 | assert(m_pSettings != nullptr); |
| 107 | |
| 108 | return m_pSettings != nullptr && |
| 109 | m_pSettings->GetDropRedundantWords() && |
| 110 | !PluginUtils::IsPluginShown(*m_pSettings, LongPathPlugin::ID); |
| 111 | } |
| 112 | |
| 113 | } // namespace Plugins |
| 114 |
nothing calls this directly
no test coverage detected