Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Classes | Macros | Functions | Variables
ui_interface.h File Reference
#include <functional>
#include <memory>
#include <string>
Include dependency graph for ui_interface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CClientUIInterface
 Signals for UI communication. More...
 

Macros

#define ADD_SIGNALS_DECL_WRAPPER(signal_name, rtype, args...)
 

Functions

void InitWarning (const bilingual_str &str)
 Show warning message.
 
bool InitError (const bilingual_str &str)
 Show error message.
 

Variables

constexpr auto AbortError = InitError
 
CClientUIInterface uiInterface
 

Macro Definition Documentation

◆ ADD_SIGNALS_DECL_WRAPPER

#define ADD_SIGNALS_DECL_WRAPPER (   signal_name,
  rtype,
  args... 
)
Value:
rtype signal_name(args); \
using signal_name##Sig = rtype(args); \
boost::signals2::connection signal_name##_connect( \
std::function<signal_name##Sig> 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

Definition at line 76 of file ui_interface.h.

Function Documentation

◆ 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

◆ AbortError

constexpr auto AbortError = InitError
constexpr

Definition at line 141 of file ui_interface.h.

◆ uiInterface

CClientUIInterface uiInterface
extern

Definition at line 12 of file ui_interface.cpp.