Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
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.
bool InitError (const bilingual_str &str)
 Show error message.
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.