MCPcopy Create free account
hub / github.com/ariccio/altWinDirStat / Display

Method Display

Reference code/osImageTool/ErrorHandler.cpp:15–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13ErrorHandler g_err;
14
15void ErrorHandler::Display()
16{
17 if (m_errors.size()==0)
18 return;
19
20 std::string all;
21 for (StringList::iterator i= m_errors.begin() ; i != m_errors.end() ; ++i)
22 {
23 if (!all.empty())
24 all += "\n";
25 all += *i;
26 }
27 MessageBox(0, all.c_str(), "ERROR", 0);
28 m_errors.clear();
29}
30
31void ErrorHandler::Set(const std::string& msg)
32{

Callers 1

InitInstanceMethod · 0.80

Calls 5

MessageBoxFunction · 0.85
beginMethod · 0.80
sizeMethod · 0.45
endMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected