mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
refs #618, allow to directly create validation messages
Needed frequently, easier than always to join categories
This commit is contained in:
@@ -188,8 +188,8 @@ namespace BlackMisc
|
||||
//! Constructor
|
||||
CStatusMessage(StatusSeverity severity, const QString &message);
|
||||
|
||||
//! Constructor
|
||||
CStatusMessage(const CLogCategoryList &categories, StatusSeverity severity, const QString &message);
|
||||
//! Constructor, also a verification messsage can be directly created
|
||||
CStatusMessage(const CLogCategoryList &categories, StatusSeverity severity, const QString &message, bool verification = false);
|
||||
|
||||
//! Construct from a Qt logging triple
|
||||
//! \sa QtMessageHandler
|
||||
@@ -267,6 +267,9 @@ namespace BlackMisc
|
||||
//! Add category
|
||||
void addCategory(const CLogCategory &category) { this->m_categories.push_back(category); }
|
||||
|
||||
//! Adds verification as category
|
||||
void addVerificationCategory();
|
||||
|
||||
//! Add categories
|
||||
void addCategories(const CLogCategoryList &categories) { this->m_categories.push_back(categories); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user