Bitcoin ABC 0.30.7
P2P Digital Currency
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. More...
 
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 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.