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

Method OnToolsGenerateReport

Src/MergeDoc.cpp:3470–3479  ·  view source on GitHub ↗

* @brief Generate report from file compare results. */

Source from the content-addressed store, hash-verified

3468 * @brief Generate report from file compare results.
3469 */
3470void CMergeDoc::OnToolsGenerateReport()
3471{
3472 String s;
3473
3474 if (!SelectFile(AfxGetMainWnd()->GetSafeHwnd(), s, false, nullptr, _T(""), _("HTML Files (*.htm,*.html)|*.htm;*.html|All Files (*.*)|*.*||"), _T("htm")))
3475 return;
3476
3477 if (GenerateReport(s))
3478 I18n::MessageBox(IDS_REPORT_SUCCESS, MB_OK | MB_ICONINFORMATION);
3479}
3480
3481/**
3482 * @brief Generate patch from files selected.

Callers

nothing calls this directly

Calls 2

SelectFileFunction · 0.85
MessageBoxFunction · 0.70

Tested by

no test coverage detected