mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:07:04 +08:00
refs #350 CStatusMessage methods for adding extra log categories.
This commit is contained in:
@@ -105,6 +105,12 @@ namespace BlackMisc
|
||||
//! Severity
|
||||
void setSeverity(StatusSeverity severity) { this->m_severity = severity; }
|
||||
|
||||
//! Add category
|
||||
void addCategory(const CLogCategory &category) { this->m_categories.push_back(category); }
|
||||
|
||||
//! Add categories
|
||||
void addCategories(const CLogCategoryList &categories) { this->m_categories.push_back(categories); }
|
||||
|
||||
//! Representing icon
|
||||
virtual CIcon toIcon() const override { return convertToIcon(*this); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user