@@ -22,8 +22,10 @@ struct UISignals {
22
22
boost::signals2::signal<CClientUIInterface::NotifyAlertChangedSig> NotifyAlertChanged;
23
23
boost::signals2::signal<CClientUIInterface::ShowProgressSig> ShowProgress;
24
24
boost::signals2::signal<CClientUIInterface::SnapshotLoadProgressSig> SnapshotLoadProgress;
25
+ boost::signals2::signal<CClientUIInterface::RewindProgressSig> RewindProgress;
25
26
boost::signals2::signal<CClientUIInterface::NotifyBlockTipSig> NotifyBlockTip;
26
27
boost::signals2::signal<CClientUIInterface::NotifyHeaderTipSig> NotifyHeaderTip;
28
+ boost::signals2::signal<CClientUIInterface::NotifyBlockDisconnectedSig> NotifyBlockDisconnected;
27
29
boost::signals2::signal<CClientUIInterface::BannedListChangedSig> BannedListChanged;
28
30
};
29
31
static UISignals g_ui_signals;
@@ -44,9 +46,10 @@ ADD_SIGNALS_IMPL_WRAPPER(NotifyAlertChanged);
44
46
ADD_SIGNALS_IMPL_WRAPPER (ShowProgress);
45
47
ADD_SIGNALS_IMPL_WRAPPER (NotifyBlockTip);
46
48
ADD_SIGNALS_IMPL_WRAPPER (NotifyHeaderTip);
49
+ ADD_SIGNALS_IMPL_WRAPPER (NotifyBlockDisconnected);
47
50
ADD_SIGNALS_IMPL_WRAPPER (BannedListChanged);
48
51
ADD_SIGNALS_IMPL_WRAPPER (SnapshotLoadProgress);
49
-
52
+ ADD_SIGNALS_IMPL_WRAPPER (RewindProgress);
50
53
bool CClientUIInterface::ThreadSafeMessageBox (const bilingual_str& message, const std::string& caption, unsigned int style) { return g_ui_signals.ThreadSafeMessageBox (message, caption, style).value_or (false );}
51
54
bool CClientUIInterface::ThreadSafeQuestion (const bilingual_str& message, const std::string& non_interactive_message, const std::string& caption, unsigned int style) { return g_ui_signals.ThreadSafeQuestion (message, non_interactive_message, caption, style).value_or (false );}
52
55
void CClientUIInterface::InitMessage (const std::string& message) { return g_ui_signals.InitMessage (message); }
@@ -56,8 +59,10 @@ void CClientUIInterface::NotifyNetworkActiveChanged(bool networkActive) { return
56
59
void CClientUIInterface::NotifyAlertChanged () { return g_ui_signals.NotifyAlertChanged (); }
57
60
void CClientUIInterface::ShowProgress (const std::string& title, int nProgress, bool resume_possible) { return g_ui_signals.ShowProgress (title, nProgress, resume_possible); }
58
61
void CClientUIInterface::SnapshotLoadProgress (double progress) { return g_ui_signals.SnapshotLoadProgress (progress); }
62
+ void CClientUIInterface::RewindProgress (double progress) { return g_ui_signals.RewindProgress (progress); }
59
63
void CClientUIInterface::NotifyBlockTip (SynchronizationState s, const CBlockIndex* i) { return g_ui_signals.NotifyBlockTip (s, i); }
60
64
void CClientUIInterface::NotifyHeaderTip (SynchronizationState s, int64_t height, int64_t timestamp, bool presync) { return g_ui_signals.NotifyHeaderTip (s, height, timestamp, presync); }
65
+ void CClientUIInterface::NotifyBlockDisconnected (SynchronizationState s, const CBlockIndex* i) { return g_ui_signals.NotifyBlockDisconnected (s, i); }
61
66
void CClientUIInterface::BannedListChanged () { return g_ui_signals.BannedListChanged (); }
62
67
63
68
bool InitError (const bilingual_str& str)
0 commit comments