@@ -21,6 +21,7 @@ struct UISignals {
2121 boost::signals2::signal<CClientUIInterface::NotifyNetworkActiveChangedSig> NotifyNetworkActiveChanged;
2222 boost::signals2::signal<CClientUIInterface::NotifyAlertChangedSig> NotifyAlertChanged;
2323 boost::signals2::signal<CClientUIInterface::ShowProgressSig> ShowProgress;
24+ boost::signals2::signal<CClientUIInterface::SnapshotLoadProgressSig> SnapshotLoadProgress;
2425 boost::signals2::signal<CClientUIInterface::NotifyBlockTipSig> NotifyBlockTip;
2526 boost::signals2::signal<CClientUIInterface::NotifyHeaderTipSig> NotifyHeaderTip;
2627 boost::signals2::signal<CClientUIInterface::BannedListChangedSig> BannedListChanged;
@@ -44,6 +45,7 @@ ADD_SIGNALS_IMPL_WRAPPER(ShowProgress);
4445ADD_SIGNALS_IMPL_WRAPPER (NotifyBlockTip);
4546ADD_SIGNALS_IMPL_WRAPPER (NotifyHeaderTip);
4647ADD_SIGNALS_IMPL_WRAPPER (BannedListChanged);
48+ ADD_SIGNALS_IMPL_WRAPPER (SnapshotLoadProgress);
4749
4850bool CClientUIInterface::ThreadSafeMessageBox (const bilingual_str& message, const std::string& caption, unsigned int style) { return g_ui_signals.ThreadSafeMessageBox (message, caption, style).value_or (false );}
4951bool 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 );}
@@ -53,6 +55,7 @@ void CClientUIInterface::NotifyNumConnectionsChanged(PeersNumByType newNumConnec
5355void CClientUIInterface::NotifyNetworkActiveChanged (bool networkActive) { return g_ui_signals.NotifyNetworkActiveChanged (networkActive); }
5456void CClientUIInterface::NotifyAlertChanged () { return g_ui_signals.NotifyAlertChanged (); }
5557void CClientUIInterface::ShowProgress (const std::string& title, int nProgress, bool resume_possible) { return g_ui_signals.ShowProgress (title, nProgress, resume_possible); }
58+ void CClientUIInterface::SnapshotLoadProgress (double progress) { return g_ui_signals.SnapshotLoadProgress (progress); }
5659void CClientUIInterface::NotifyBlockTip (SynchronizationState s, const CBlockIndex* i) { return g_ui_signals.NotifyBlockTip (s, i); }
5760void CClientUIInterface::NotifyHeaderTip (SynchronizationState s, int64_t height, int64_t timestamp, bool presync) { return g_ui_signals.NotifyHeaderTip (s, height, timestamp, presync); }
5861void CClientUIInterface::BannedListChanged () { return g_ui_signals.BannedListChanged (); }
0 commit comments