25 std::string strCaption;
28 strCaption =
"Error: ";
32 strCaption =
"Warning: ";
36 strCaption =
"Information: ";
54 LogInfo(
"init message: %s", message);
78 LogInfo(
"init message: %s", message);
Signals for UI communication.
@ MSG_INFORMATION
Predefined combinations for certain default usage cases.
@ SECURE
Do not print contents of message to debug log.
void disconnect()
If a callback is associated with this connection, prevent it from being called in the future.
CClientUIInterface uiInterface
btcsignals::connection noui_InitMessageConn
bool noui_ThreadSafeQuestion(const bilingual_str &, const std::string &message, unsigned int style)
Non-GUI handler, which logs and prints questions.
btcsignals::connection noui_ThreadSafeMessageBoxConn
Store connections so we can disconnect them when suppressing output.
btcsignals::connection noui_ThreadSafeQuestionConn
bool noui_ThreadSafeMessageBoxRedirect(const bilingual_str &message, unsigned int style)
void noui_InitMessageRedirect(const std::string &message)
bool noui_ThreadSafeQuestionRedirect(const bilingual_str &, const std::string &message, unsigned int style)
void noui_test_redirect()
Redirect all bitcoind signal handlers to LogInfo.
void noui_InitMessage(const std::string &message)
Non-GUI handler, which only logs a message.
void noui_reconnect()
Reconnects the regular Non-GUI handlers after having used noui_test_redirect.
void noui_connect()
Connect all bitcoind signal handlers.
bool noui_ThreadSafeMessageBox(const bilingual_str &message, unsigned int style)
Non-GUI handler, which logs and prints messages.
bilingual_str Untranslated(std::string original)
Mark a bilingual_str as untranslated.