| 25 | } |
| 26 | } |
| 27 | int MessageStack::GetGroupWarningMsgCount(const std::string& group) |
| 28 | { |
| 29 | int cnt = 0; |
| 30 | for (int i = 0; i < m_msgs.size(); i++) |
| 31 | if (m_msgs[i].Group == group && m_msgs[i].MType == ed::MessageStack::Type::Warning) |
| 32 | cnt++; |
| 33 | return cnt; |
| 34 | } |
| 35 | int MessageStack::GetErrorAndWarningMsgCount() |
| 36 | { |
| 37 | int cnt = 0; |