mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
Utility function to directly log warning when network not accessible
This commit is contained in:
committed by
Mathew Sutcliffe
parent
8aed8f598e
commit
76b3b6c0b6
@@ -53,7 +53,8 @@ namespace BlackCore
|
||||
bool updatedWithinLastMs(qint64 timeLastMs);
|
||||
|
||||
//! Network accessible?
|
||||
bool isNetworkAccessible() const;
|
||||
//! \param logWarningMessage optional warning if not accessible
|
||||
bool isNetworkAccessible(const QString &logWarningMessage = {}) const;
|
||||
|
||||
//! Is marked as read failed
|
||||
//! \threadsafe
|
||||
|
||||
Reference in New Issue
Block a user