Bitcoin ABC 0.30.7
P2P Digital Currency
Functions | Variables
noui.cpp File Reference
#include <noui.h>
#include <logging.h>
#include <node/ui_interface.h>
#include <util/translation.h>
#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 bilingual_str &message, const std::string &caption, unsigned int style)
 Non-GUI handler, which logs and prints messages. More...
 
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. 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 bilingual_str &message, const std::string &caption, unsigned int style)
 
bool noui_ThreadSafeQuestionRedirect (const bilingual_str &, 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 59 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 55 of file noui.cpp.

Here is the caller graph for this function:

◆ noui_InitMessageRedirect()

void noui_InitMessageRedirect ( const std::string &  message)

Definition at line 82 of file noui.cpp.

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 98 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 bilingual_str message,
const std::string &  caption,
unsigned int  style 
)

Non-GUI handler, which logs and prints messages.

Definition at line 20 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 bilingual_str message,
const std::string &  caption,
unsigned int  style 
)

Definition at line 67 of file noui.cpp.

Here is the caller graph for this function:

◆ noui_ThreadSafeQuestion()

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.

Definition at line 48 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 bilingual_str ,
const std::string &  message,
const std::string &  caption,
unsigned int  style 
)

Definition at line 74 of file noui.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ noui_InitMessageConn

boost::signals2::connection noui_InitMessageConn

Definition at line 18 of file noui.cpp.

◆ noui_ThreadSafeMessageBoxConn

boost::signals2::connection noui_ThreadSafeMessageBoxConn

Store connections so we can disconnect them when suppressing output.

Definition at line 16 of file noui.cpp.

◆ noui_ThreadSafeQuestionConn

boost::signals2::connection noui_ThreadSafeQuestionConn

Definition at line 17 of file noui.cpp.