Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Macros | Functions | Variables
interface_ui.h File Reference
#include <cstdint>
#include <functional>
#include <string>
#include <vector>
Include dependency graph for interface_ui.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, ...)
 

Functions

void InitWarning (const bilingual_str &str)
 Show warning message. More...
 
bool InitError (const bilingual_str &str)
 Show error message. More...
 
bool InitError (const bilingual_str &str, const std::vector< std::string > &details)
 

Variables

CClientUIInterface uiInterface
 

Macro Definition Documentation

◆ ADD_SIGNALS_DECL_WRAPPER

#define ADD_SIGNALS_DECL_WRAPPER (   signal_name,
  rtype,
  ... 
)
Value:
rtype signal_name(__VA_ARGS__); \
using signal_name##Sig = rtype(__VA_ARGS__); \
boost::signals2::connection signal_name##_connect(std::function<signal_name##Sig> fn);

Definition at line 71 of file interface_ui.h.

Function Documentation

◆ 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

◆ uiInterface

CClientUIInterface uiInterface
extern

Definition at line 15 of file interface_ui.cpp.