DB watchdog also emits URL in signal (allows to display the failed URL)

This commit is contained in:
Klaus Basan
2018-04-02 02:21:53 +02:00
parent 0b4637054a
commit b6b37c9c0f
6 changed files with 27 additions and 15 deletions

View File

@@ -14,6 +14,7 @@
#include "blackgui/blackguiexport.h"
#include "blackgui/led.h"
#include "blackmisc/network/url.h"
#include "blackmisc/network/entityflags.h"
#include <QFrame>
@@ -72,8 +73,11 @@ namespace BlackGui
//! Data have been read
void dataRead(BlackMisc::Network::CEntityFlags::Entity entities, BlackMisc::Network::CEntityFlags::ReadState readState, int count);
//! DB or network accessibility changed
void accessibilityChanged(bool accessible);
//! Network accessibility changed
void networkAccessibilityChanged(bool accessible);
//! DB accessibility changed
void dbAccessibilityChanged(bool accessible, const BlackMisc::Network::CUrl &testedUrl);
//! Check server status
void checkServerAndData();