[Qt] allow to execute a callback during splashscreen progress

This commit is contained in:
Jonas Schnelli
2017-06-23 09:32:38 +02:00
parent 90a002ea64
commit 00cb69bc86
4 changed files with 36 additions and 0 deletions

View File

@@ -97,6 +97,9 @@ public:
/** Show progress e.g. for verifychain */
boost::signals2::signal<void (const std::string &title, int nProgress)> ShowProgress;
/** Set progress break action (possible "cancel button" triggers that action) */
boost::signals2::signal<void (std::function<void(void)> action)> SetProgressBreakAction;
/** New block has been accepted */
boost::signals2::signal<void (bool, const CBlockIndex *)> NotifyBlockTip;