Reduced number of (unnecessary) network status messages

This commit is contained in:
Klaus Basan
2018-09-03 01:46:51 +02:00
committed by Roland Winklmeier
parent b6edb13da0
commit 09ab653cf9
3 changed files with 25 additions and 14 deletions

View File

@@ -130,6 +130,10 @@ namespace BlackCore
//! \threadsafe
bool isNetworkAccessibilityCheckDisabled() const { return m_disableNetworkCheck; }
//! Network check enabled?
//! \threadsafe
bool isNetworkAccessibilityCheckEnabled() const { return !this->isNetworkAccessibilityCheckDisabled(); }
//! URL referring to the DB
//! \remark depends on BlackCore::Application::getGlobalSetup()
static bool isDbUrl(const BlackMisc::Network::CUrl &url);