mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
Issue #15 CCoreFacade owns an instance of CDataLinkDBus
This commit is contained in:
@@ -23,7 +23,15 @@
|
||||
#include <QObject>
|
||||
#include <QString>
|
||||
|
||||
namespace BlackMisc { class CDBusServer; }
|
||||
namespace BlackMisc
|
||||
{
|
||||
class CDBusServer;
|
||||
|
||||
namespace SharedState
|
||||
{
|
||||
class CDataLinkDBus;
|
||||
}
|
||||
}
|
||||
namespace BlackCore
|
||||
{
|
||||
namespace Context
|
||||
@@ -181,6 +189,9 @@ namespace BlackCore
|
||||
bool m_initDBusConnection = false;
|
||||
QDBusConnection m_dbusConnection { "default" };
|
||||
|
||||
// shared state infrastructure
|
||||
BlackMisc::SharedState::CDataLinkDBus *m_dataLinkDBus = nullptr;
|
||||
|
||||
// contexts:
|
||||
// There is a reason why we do not use smart pointers here. When the context is deleted
|
||||
// we need to use deleteLater to gracefully shut the context
|
||||
|
||||
Reference in New Issue
Block a user