diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-06-24 16:35:21 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-06-24 16:45:12 +0200 |
commit | 1acf1db76fc3e07deb8f0f837934ea90383fedb5 (patch) | |
tree | d5988afeaba365f130400cea81e1f21027bc5622 /src/ui_interface.h | |
parent | 08338942b50f915add72156e02a2131310d56e45 (diff) |
Do not ask a UI question from bitcoind
Diffstat (limited to 'src/ui_interface.h')
-rw-r--r-- | src/ui_interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui_interface.h b/src/ui_interface.h index 7ebfc17e5d..7e6557f8e2 100644 --- a/src/ui_interface.h +++ b/src/ui_interface.h @@ -76,6 +76,9 @@ public: /** Show message box. */ boost::signals2::signal<bool (const std::string& message, const std::string& caption, unsigned int style), boost::signals2::last_value<bool> > ThreadSafeMessageBox; + /** If possible, ask the user a question. If not, falls back to ThreadSafeMessageBox(noninteractive_message, caption, style) and returns false. */ + boost::signals2::signal<bool (const std::string& message, const std::string& noninteractive_message, const std::string& caption, unsigned int style), boost::signals2::last_value<bool> > ThreadSafeQuestion; + /** Progress message during initialization. */ boost::signals2::signal<void (const std::string &message)> InitMessage; |