MCPcopy Create free account
hub / github.com/WinMerge/winmerge / GetAvailableScripts

Method GetAvailableScripts

Src/Plugins.cpp:1004–1013  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1002}
1003
1004PluginArray * CScriptsOfThread::GetAvailableScripts(const wchar_t *transformationEvent)
1005{
1006 if (m_aPluginsByEvent.empty())
1007 m_aPluginsByEvent = ::GetAvailableScripts();
1008 if (auto it = m_aPluginsByEvent.find(transformationEvent); it != m_aPluginsByEvent.end())
1009 return it->second.get();
1010 // return a pointer to an empty list
1011 static PluginArray noPlugin;
1012 return &noPlugin;
1013}
1014
1015void CScriptsOfThread::SaveSettings()
1016{

Callers 4

GetEditorScriptPluginMethod · 0.80
FileTransform.cppFile · 0.80
AddPluginsToListMethod · 0.80
WritePluginsInLogFileMethod · 0.80

Calls 5

GetAvailableScriptsFunction · 0.85
emptyMethod · 0.45
findMethod · 0.45
endMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected