36 const std::string& post_summary,
37 const std::vector<std::string>& files,
38 const std::string& details);
41 static void display(
const std::string& summary,
42 const std::string& post_summary,
43 const std::vector<std::string>& files,
44 const std::string& details)
46 wml_error(summary, post_summary, files, details).show();
50 static void display(
const std::string& summary,
51 const std::string& details)
53 display(summary,
"", std::vector<std::string>(), details);
61 virtual const std::string&
window_id()
const override;
Abstract base class for all modal dialogs.
virtual void pre_show() override
Actions to be taken before showing the window.
void copy_report_callback()
static void display(const std::string &summary, const std::string &post_summary, const std::vector< std::string > &files, const std::string &details)
The display function; see modal_dialog for more information.
virtual const std::string & window_id() const override
The ID of the window to build.
wml_error(const std::string &summary, const std::string &post_summary, const std::vector< std::string > &files, const std::string &details)
Constructor.
static void display(const std::string &summary, const std::string &details)
The display function; see modal_dialog for more information.