refs #350 CStatusMessage methods for adding extra log categories.

This commit is contained in:
Mathew Sutcliffe
2014-12-08 00:24:20 +00:00
parent 599068e25b
commit bf52390e01
3 changed files with 34 additions and 0 deletions

View File

@@ -38,6 +38,12 @@ namespace BlackMisc
//! Find by severity
CStatusMessageList findBySeverity(CStatusMessage::StatusSeverity severity) const;
//! Add a category to all messages in the list
void addCategory(const CLogCategory &category);
//! Add some categories to all messages in the list
void addCategories(const CLogCategoryList &categories);
//! \copydoc CValueObject::toQVariant
virtual QVariant toQVariant() const override { return QVariant::fromValue(*this); }