mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-24 09:54:16 +08:00
Issue #15 Classes for sharing the history of log messages
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CDBusServer;
|
||||
class CLogHistory;
|
||||
class CLogHistorySource;
|
||||
|
||||
namespace SharedState
|
||||
{
|
||||
@@ -68,6 +70,9 @@ namespace BlackCore
|
||||
//! Destructor
|
||||
virtual ~CCoreFacade() override { this->gracefulShutdown(); }
|
||||
|
||||
//! Transport mechanism for sharing state between applications
|
||||
BlackMisc::SharedState::CDataLinkDBus *getDataLinkDBus() { return this->m_dataLinkDBus; }
|
||||
|
||||
//! DBus server (if applicable)
|
||||
const BlackMisc::CDBusServer *getDBusServer() const { return this->m_dbusServer; }
|
||||
|
||||
@@ -191,6 +196,8 @@ namespace BlackCore
|
||||
|
||||
// shared state infrastructure
|
||||
BlackMisc::SharedState::CDataLinkDBus *m_dataLinkDBus = nullptr;
|
||||
BlackMisc::CLogHistory *m_logHistory = nullptr;
|
||||
BlackMisc::CLogHistorySource *m_logHistorySource = nullptr;
|
||||
|
||||
// contexts:
|
||||
// There is a reason why we do not use smart pointers here. When the context is deleted
|
||||
|
||||
Reference in New Issue
Block a user