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

Method Enabled

PathCopyCopy/src/Plugin.cpp:89–93  ·  view source on GitHub ↗

Returns whether the plugin should be enabled or not in the contextual menu. If not overridden, it will always be enabled. @param p_ParentPath Path of the parent directory of files that triggered the contextual menu. @param p_File Path of one file that was selected. @return true if plugin should be enabled in contextual menu.

Source from the content-addressed store, hash-verified

87 // @return true if plugin should be enabled in contextual menu.
88 //
89 bool Plugin::Enabled(const std::wstring& /*p_ParentPath*/,
90 const std::wstring& /*p_File*/) const noexcept(false)
91 {
92 return true;
93 }
94
95 //
96 // Returns the separator to use between each path when using this plugin.

Callers 2

ShouldBeEnabledForMethod · 0.45
AddPluginToMenuMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected