refs #467 Only send a log message via DBus if it matches a pattern to which another process has subscribed.

This commit is contained in:
Mathew Sutcliffe
2015-09-21 02:13:51 +01:00
parent 3aa3a2a892
commit 1735ec9ff0
4 changed files with 22 additions and 2 deletions

View File

@@ -109,6 +109,9 @@ namespace BlackCore
void fakedSetComVoiceRoom(const BlackMisc::Audio::CVoiceRoomList &requestedRooms);
protected:
//! Compute which process' subscriptions match a given log message.
BlackMisc::CIdentifierList subscribersOf(const BlackMisc::CStatusMessage &message) const;
//! Tracks which processes are subscribed to which patterns of log messages.
CLogSubscriptionHash m_logSubscriptions;