Do not ask a UI question from bitcoind

This commit is contained in:
Pieter Wuille
2016-06-24 16:35:21 +02:00
committed by Jack Grigg
parent 5f619492e8
commit 5d66d0a11e
4 changed files with 13 additions and 1 deletions

View File

@@ -75,6 +75,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;