mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
Issue #15 [GUI] Use filter to avoid sending ignored messages over dbus
This commit is contained in:
@@ -96,6 +96,9 @@ namespace BlackMisc
|
||||
//! This class acts as a SharedState filter when stored in a CVariant.
|
||||
bool matches(const CVariant &message) const { return match(message.to<CStatusMessage>()); }
|
||||
|
||||
//! Technical category names matched by this pattern.
|
||||
QSet<QString> getCategoryStrings() const { return m_strings; }
|
||||
|
||||
//! Returns true if this pattern is a proper subset of the other pattern.
|
||||
//! \see https://en.wikipedia.org/wiki/Proper_subset
|
||||
//! \details Pattern A is a proper subset of pattern B iff pattern B would match every category which pattern A matches,
|
||||
|
||||
Reference in New Issue
Block a user