mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Ref T167, utility functions in CCoreFacadeConfig and better check in SwiftGuiStd::displayDBusReconnectDialog
This commit is contained in:
committed by
Mathew Sutcliffe
parent
7a87f986e2
commit
2aa5ed431f
@@ -86,6 +86,15 @@ namespace BlackCore
|
||||
//! DBus address?
|
||||
bool hasDBusAddress() const { return !this->m_dbusAddress.isEmpty(); }
|
||||
|
||||
//! Any context in given mode
|
||||
bool any(ContextMode mode) const;
|
||||
|
||||
//! Any remote context?
|
||||
bool anyRemote() const;
|
||||
|
||||
//! Any local in DBus context?
|
||||
bool anyLocalInDBusServer() const;
|
||||
|
||||
//! Predefined for Core
|
||||
static CCoreFacadeConfig forCoreAllLocalInDBus(const QString &dbusBootstrapAddress = "");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user