3 #include <c++utilities/conversion/stringbuilder.h> 20 StatusProvider::StatusProvider() :
39 for(
auto ®istred : m_callbacks) {
46 m_callbacks.push_back(callback);
55 m_notifications.push_back(notification);
56 m_worstNotificationType |= notification.
type();
66 m_notifications.emplace_back(type, message, context);
67 m_worstNotificationType |= type;
80 m_notifications.insert(m_notifications.end(), from.m_notifications.cbegin(), from.m_notifications.cend());
96 for(
const auto ¬ification : from.m_notifications) {
97 addNotification(notification.type(), notification.message(), higherContext %
',' %
' ' + notification.context());