mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
refs #857, monitor accessible network in application
This commit is contained in:
committed by
Mathew Sutcliffe
parent
2bd9120c1c
commit
04e980a6ae
@@ -139,6 +139,15 @@ namespace BlackCore
|
||||
//! Delete all cookies from cookier manager
|
||||
void deleteAllCookies();
|
||||
|
||||
//! Network accessible?
|
||||
bool isNetworkAccessible() const;
|
||||
|
||||
//! Network connected (at startup time)
|
||||
bool isNetworkConnected() const;
|
||||
|
||||
//! Network connected and also accessible
|
||||
bool isNetworkConnectedAndAccessible() const;
|
||||
|
||||
//! Setup already synchronized
|
||||
bool isSetupAvailable() const;
|
||||
|
||||
@@ -368,6 +377,9 @@ namespace BlackCore
|
||||
//! Startup completed
|
||||
virtual void ps_startupCompleted();
|
||||
|
||||
//! Problem with network access manager
|
||||
virtual void ps_networkAccessibleChanged(QNetworkAccessManager::NetworkAccessibility accessible);
|
||||
|
||||
protected:
|
||||
//! Init class, allows to init from BlackGui::CGuiApplication as well (pseudo virtual)
|
||||
void init(bool withMetadata);
|
||||
|
||||
Reference in New Issue
Block a user