Checks whether the plugin should be enabled or not in the contextual menu. In our case, if we failed to decode our pipeline or if the pipeline complains, we'll show up as disabled. @param p_ParentPath Path of the parent folder of all files; unused. @param p_File Path of one selected file; unused.
| 152 | // @param p_File Path of one selected file; unused. |
| 153 | // |
| 154 | bool PipelinePlugin::Enabled(const std::wstring& p_ParentPath, |
| 155 | const std::wstring& p_File) const |
| 156 | { |
| 157 | const Pipeline* pPipeline = GetPipeline(); |
| 158 | return pPipeline != nullptr && |
| 159 | pPipeline->ShouldBeEnabledFor(p_ParentPath, p_File, m_pPluginProvider); |
| 160 | } |
| 161 | |
| 162 | // |
| 163 | // Modifies a path using all elements in our pipeline. |
nothing calls this directly
no test coverage detected