Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Macros | Functions | Variables
interface_ui.cpp File Reference
#include <node/interface_ui.h>
#include <util/string.h>
#include <util/translation.h>
#include <boost/signals2/optional_last_value.hpp>
#include <boost/signals2/signal.hpp>
Include dependency graph for interface_ui.cpp:

Go to the source code of this file.

Classes

struct  UISignals
 

Macros

#define ADD_SIGNALS_IMPL_WRAPPER(signal_name)
 

Functions

 ADD_SIGNALS_IMPL_WRAPPER (ThreadSafeMessageBox)
 
 ADD_SIGNALS_IMPL_WRAPPER (ThreadSafeQuestion)
 
 ADD_SIGNALS_IMPL_WRAPPER (InitMessage)
 
 ADD_SIGNALS_IMPL_WRAPPER (InitWallet)
 
 ADD_SIGNALS_IMPL_WRAPPER (NotifyNumConnectionsChanged)
 
 ADD_SIGNALS_IMPL_WRAPPER (NotifyNetworkActiveChanged)
 
 ADD_SIGNALS_IMPL_WRAPPER (NotifyAlertChanged)
 
 ADD_SIGNALS_IMPL_WRAPPER (ShowProgress)
 
 ADD_SIGNALS_IMPL_WRAPPER (NotifyBlockTip)
 
 ADD_SIGNALS_IMPL_WRAPPER (NotifyHeaderTip)
 
 ADD_SIGNALS_IMPL_WRAPPER (BannedListChanged)
 
bool InitError (const bilingual_str &str)
 Show error message. More...
 
bool InitError (const bilingual_str &str, const std::vector< std::string > &details)
 
void InitWarning (const bilingual_str &str)
 Show warning message. More...
 

Variables

CClientUIInterface uiInterface
 
static UISignals g_ui_signals
 

Macro Definition Documentation

◆ ADD_SIGNALS_IMPL_WRAPPER

#define ADD_SIGNALS_IMPL_WRAPPER (   signal_name)
Value:
boost::signals2::connection CClientUIInterface::signal_name##_connect(std::function<signal_name##Sig> fn) \
{ \
return g_ui_signals.signal_name.connect(fn); \
}
static UISignals g_ui_signals

Definition at line 32 of file interface_ui.cpp.

Function Documentation

◆ ADD_SIGNALS_IMPL_WRAPPER() [1/11]

ADD_SIGNALS_IMPL_WRAPPER ( BannedListChanged  )

◆ ADD_SIGNALS_IMPL_WRAPPER() [2/11]

ADD_SIGNALS_IMPL_WRAPPER ( InitMessage  )

◆ ADD_SIGNALS_IMPL_WRAPPER() [3/11]

ADD_SIGNALS_IMPL_WRAPPER ( InitWallet  )

◆ ADD_SIGNALS_IMPL_WRAPPER() [4/11]

ADD_SIGNALS_IMPL_WRAPPER ( NotifyAlertChanged  )

◆ ADD_SIGNALS_IMPL_WRAPPER() [5/11]

ADD_SIGNALS_IMPL_WRAPPER ( NotifyBlockTip  )

◆ ADD_SIGNALS_IMPL_WRAPPER() [6/11]

ADD_SIGNALS_IMPL_WRAPPER ( NotifyHeaderTip  )

◆ ADD_SIGNALS_IMPL_WRAPPER() [7/11]

ADD_SIGNALS_IMPL_WRAPPER ( NotifyNetworkActiveChanged  )

◆ ADD_SIGNALS_IMPL_WRAPPER() [8/11]

ADD_SIGNALS_IMPL_WRAPPER ( NotifyNumConnectionsChanged  )

◆ ADD_SIGNALS_IMPL_WRAPPER() [9/11]

ADD_SIGNALS_IMPL_WRAPPER ( ShowProgress  )

◆ ADD_SIGNALS_IMPL_WRAPPER() [10/11]

ADD_SIGNALS_IMPL_WRAPPER ( ThreadSafeMessageBox  )

◆ ADD_SIGNALS_IMPL_WRAPPER() [11/11]

ADD_SIGNALS_IMPL_WRAPPER ( ThreadSafeQuestion  )

◆ InitError() [1/2]

bool InitError ( const bilingual_str str)

Show error message.

Definition at line 62 of file interface_ui.cpp.

Here is the caller graph for this function:

◆ InitError() [2/2]

bool InitError ( const bilingual_str str,
const std::vector< std::string > &  details 
)

Definition at line 68 of file interface_ui.cpp.

Here is the call graph for this function:

◆ InitWarning()

void InitWarning ( const bilingual_str str)

Show warning message.

Definition at line 80 of file interface_ui.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ g_ui_signals

UISignals g_ui_signals
static

Definition at line 30 of file interface_ui.cpp.

◆ uiInterface

CClientUIInterface uiInterface

Definition at line 15 of file interface_ui.cpp.