MCPcopy Create free account
hub / github.com/clechasseur/pathcopycopy / IsAndrogynous

Method IsAndrogynous

PathCopyCopy/plugins/src/ShortNamePlugin.cpp:84–91  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

GetDropRedundantWordsMethod · 0.80

Tested by

no test coverage detected