14 #include <boost/signals2/connection.hpp> 15 #include <boost/signals2/signal.hpp> 27 std::string strCaption;
30 strCaption =
"Error: ";
33 strCaption =
"Warning: ";
36 strCaption =
"Information: ";
39 strCaption = caption +
": ";
void noui_reconnect()
Reconnects the regular Non-GUI handlers after having used noui_test_redirect.
Predefined combinations for certain default usage cases.
bool noui_ThreadSafeQuestion(const bilingual_str &, const std::string &message, const std::string &caption, unsigned int style)
Non-GUI handler, which logs and prints questions.
CClientUIInterface uiInterface
boost::signals2::connection noui_ThreadSafeQuestionConn
bool noui_ThreadSafeMessageBox(const bilingual_str &message, const std::string &caption, unsigned int style)
Non-GUI handler, which logs and prints messages.
bilingual_str Untranslated(std::string original)
Mark a bilingual_str as untranslated.
void noui_connect()
Connect all bitcoind signal handlers.
boost::signals2::connection noui_InitMessageConn
void noui_InitMessage(const std::string &message)
Non-GUI handler, which only logs a message.
Signals for UI communication.
bool noui_ThreadSafeMessageBoxRedirect(const bilingual_str &message, const std::string &caption, unsigned int style)
void noui_InitMessageRedirect(const std::string &message)
Do not print contents of message to debug log.
bool noui_ThreadSafeQuestionRedirect(const bilingual_str &, const std::string &message, const std::string &caption, unsigned int style)
boost::signals2::connection noui_ThreadSafeMessageBoxConn
Store connections so we can disconnect them when suppressing output.
void noui_test_redirect()
Redirect all bitcoind signal handlers to LogPrintf.