aboutsummaryrefslogtreecommitdiff
path: root/src/ui_interface.h
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2017-06-23 09:32:38 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2017-06-29 17:48:08 +0200
commit00cb69bc8655b1c17064a7e42453fd049e555076 (patch)
treee6b4f5be586f06f073c5a35e30f18e4e845f066d /src/ui_interface.h
parent90a002ea647dcea57a2ed4294eab77897168ba1d (diff)
downloadbitcoin-00cb69bc8655b1c17064a7e42453fd049e555076.tar.xz
[Qt] allow to execute a callback during splashscreen progress
Diffstat (limited to 'src/ui_interface.h')
-rw-r--r--src/ui_interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui_interface.h b/src/ui_interface.h
index 090402aeed..762dd19b19 100644
--- a/src/ui_interface.h
+++ b/src/ui_interface.h
@@ -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;