Bitcoin Core  0.19.99
P2P Digital Currency
Functions | Variables
noui.cpp File Reference
#include <noui.h>
#include <ui_interface.h>
#include <util/system.h>
#include <string>
#include <boost/signals2/connection.hpp>
#include <boost/signals2/signal.hpp>
Include dependency graph for noui.cpp:

Go to the source code of this file.

Functions

bool noui_ThreadSafeMessageBox (const std::string &message, const std::string &caption, unsigned int style)
 Non-GUI handler, which logs and prints messages. More...
 
bool noui_ThreadSafeQuestion (const std::string &, const std::string &message, const std::string &caption, unsigned int style)
 Non-GUI handler, which logs and prints questions. More...
 
void noui_InitMessage (const std::string &message)
 Non-GUI handler, which only logs a message. More...
 
void noui_connect ()
 Connect all bitcoind signal handlers. More...
 
bool noui_ThreadSafeMessageBoxRedirect (const std::string &message, const std::string &caption, unsigned int style)
 
bool noui_ThreadSafeQuestionRedirect (const std::string &, const std::string &message, const std::string &caption, unsigned int style)
 
void noui_InitMessageRedirect (const std::string &message)
 
void noui_test_redirect ()
 Redirect all bitcoind signal handlers to LogPrintf. More...
 
void noui_reconnect ()
 Reconnects the regular Non-GUI handlers after having used noui_test_redirect. More...
 

Variables

boost::signals2::connection noui_ThreadSafeMessageBoxConn
 Store connections so we can disconnect them when suppressing output. More...
 
boost::signals2::connection noui_ThreadSafeQuestionConn
 
boost::signals2::connection noui_InitMessageConn
 

Function Documentation

◆ noui_connect()

void noui_connect ( )

Connect all bitcoind signal handlers.

Definition at line 62 of file noui.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ noui_InitMessage()

void noui_InitMessage ( const std::string &  message)

Non-GUI handler, which only logs a message.

Definition at line 57 of file noui.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ noui_InitMessageRedirect()

void noui_InitMessageRedirect ( const std::string &  message)

Definition at line 81 of file noui.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ noui_reconnect()

void noui_reconnect ( )

Reconnects the regular Non-GUI handlers after having used noui_test_redirect.

Definition at line 96 of file noui.cpp.

Here is the call graph for this function:

◆ noui_test_redirect()

void noui_test_redirect ( )

Redirect all bitcoind signal handlers to LogPrintf.

Used to check or suppress output during test runs that produce expected errors

Definition at line 86 of file noui.cpp.

Here is the call graph for this function:

◆ noui_ThreadSafeMessageBox()

bool noui_ThreadSafeMessageBox ( const std::string &  message,
const std::string &  caption,
unsigned int  style 
)

Non-GUI handler, which logs and prints messages.

Definition at line 21 of file noui.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ noui_ThreadSafeMessageBoxRedirect()

bool noui_ThreadSafeMessageBoxRedirect ( const std::string &  message,
const std::string &  caption,
unsigned int  style 
)

Definition at line 69 of file noui.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ noui_ThreadSafeQuestion()

bool noui_ThreadSafeQuestion ( const std::string &  ,
const std::string &  message,
const std::string &  caption,
unsigned int  style 
)

Non-GUI handler, which logs and prints questions.

Definition at line 52 of file noui.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ noui_ThreadSafeQuestionRedirect()

bool noui_ThreadSafeQuestionRedirect ( const std::string &  ,
const std::string &  message,
const std::string &  caption,
unsigned int  style 
)

Definition at line 75 of file noui.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ noui_InitMessageConn

boost::signals2::connection noui_InitMessageConn

Definition at line 19 of file noui.cpp.

◆ noui_ThreadSafeMessageBoxConn

boost::signals2::connection noui_ThreadSafeMessageBoxConn

Store connections so we can disconnect them when suppressing output.

Definition at line 17 of file noui.cpp.

◆ noui_ThreadSafeQuestionConn

boost::signals2::connection noui_ThreadSafeQuestionConn

Definition at line 18 of file noui.cpp.