mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 00:25:35 +08:00
refs #452, status messages
* DB support * finders and convenience methods
This commit is contained in:
committed by
Mathew Sutcliffe
parent
5587c06d37
commit
b5477c7c94
@@ -43,12 +43,23 @@ namespace BlackMisc
|
||||
//! Find by severity
|
||||
CStatusMessageList findBySeverity(CStatusMessage::StatusSeverity severity) const;
|
||||
|
||||
//! Error messages
|
||||
bool hasErrorMessages() const;
|
||||
|
||||
//! Warning messages
|
||||
bool hasWarningMessages() const;
|
||||
|
||||
//! Warning or error messages
|
||||
bool hasWarningOrErrorMessages() 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);
|
||||
|
||||
//! From our database JSON format
|
||||
static CStatusMessageList fromDatabaseJson(const QJsonArray &array);
|
||||
};
|
||||
} // ns
|
||||
|
||||
|
||||
Reference in New Issue
Block a user