ui: display fatal errors

* added ErrorCountInfo to incorporate reporting of fatal errors during code analysis.
This commit is contained in:
malte_langkabel
2016-03-02 10:53:04 +01:00
parent 4425b39ea1
commit 2ebfbbf88e
21 changed files with 105 additions and 213 deletions
+20
View File
@@ -0,0 +1,20 @@
#ifndef ERROR_COUNT_INFO_H
#define ERROR_COUNT_INFO_H
struct ErrorCountInfo
{
ErrorCountInfo()
: total(0)
, fatal(0)
{}
ErrorCountInfo(int total, size_t fatal)
: total(total)
, fatal(fatal)
{}
int total;
size_t fatal;
};
#endif // ERROR_COUNT_INFO_H