Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Classes | Macros | Functions | Variables
ui_interface.cpp File Reference
#include <node/ui_interface.h>
#include <util/translation.h>
#include <boost/signals2/optional_last_value.hpp>
#include <boost/signals2/signal.hpp>
Include dependency graph for ui_interface.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 (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.
 
void InitWarning (const bilingual_str &str)
 Show warning message.
 

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); \
}
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Definition random.h:85
static UISignals g_ui_signals

Definition at line 38 of file ui_interface.cpp.

Function Documentation

◆ ADD_SIGNALS_IMPL_WRAPPER() [1/10]

ADD_SIGNALS_IMPL_WRAPPER ( BannedListChanged  )

◆ ADD_SIGNALS_IMPL_WRAPPER() [2/10]

ADD_SIGNALS_IMPL_WRAPPER ( InitMessage  )

◆ ADD_SIGNALS_IMPL_WRAPPER() [3/10]

ADD_SIGNALS_IMPL_WRAPPER ( NotifyAlertChanged  )

◆ ADD_SIGNALS_IMPL_WRAPPER() [4/10]

ADD_SIGNALS_IMPL_WRAPPER ( NotifyBlockTip  )

◆ ADD_SIGNALS_IMPL_WRAPPER() [5/10]

ADD_SIGNALS_IMPL_WRAPPER ( NotifyHeaderTip  )

◆ ADD_SIGNALS_IMPL_WRAPPER() [6/10]

ADD_SIGNALS_IMPL_WRAPPER ( NotifyNetworkActiveChanged  )

◆ ADD_SIGNALS_IMPL_WRAPPER() [7/10]

ADD_SIGNALS_IMPL_WRAPPER ( NotifyNumConnectionsChanged  )

◆ ADD_SIGNALS_IMPL_WRAPPER() [8/10]

ADD_SIGNALS_IMPL_WRAPPER ( ShowProgress  )

◆ ADD_SIGNALS_IMPL_WRAPPER() [9/10]

ADD_SIGNALS_IMPL_WRAPPER ( ThreadSafeMessageBox  )

◆ ADD_SIGNALS_IMPL_WRAPPER() [10/10]

ADD_SIGNALS_IMPL_WRAPPER ( ThreadSafeQuestion  )

◆ InitError()

bool InitError ( const bilingual_str str)

Show error message.

Definition at line 96 of file ui_interface.cpp.

Here is the caller graph for this function:

◆ InitWarning()

void InitWarning ( const bilingual_str str)

Show warning message.

Definition at line 101 of file ui_interface.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ g_ui_signals

UISignals g_ui_signals
static

Definition at line 36 of file ui_interface.cpp.

◆ uiInterface

CClientUIInterface uiInterface

Definition at line 12 of file ui_interface.cpp.