BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
Classes | Macros | Enumerations | Functions | Variables
ui_interface.h File Reference
#include <functional>
#include <memory>
#include <stdint.h>
#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, ...)
 

Enumerations

enum  ChangeType { CT_NEW, CT_UPDATED, CT_DELETED }
 General change type (added, updated, removed). More...
 

Functions

void InitWarning (const std::string &str)
 Show warning message. More...
 
bool InitError (const std::string &str)
 Show error message. More...
 
std::string AmountHighWarn (const std::string &optname)
 
std::string AmountErrMsg (const char *const optname, const std::string &strValue)
 

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); \
void signal_name##_disconnect(std::function<signal_name##Sig> fn);

Definition at line 78 of file ui_interface.h.

Enumeration Type Documentation

◆ ChangeType

enum ChangeType

General change type (added, updated, removed).

Enumerator
CT_NEW 
CT_UPDATED 
CT_DELETED 

Definition at line 23 of file ui_interface.h.

Function Documentation

◆ AmountErrMsg()

std::string AmountErrMsg ( const char *const  optname,
const std::string &  strValue 
)

Definition at line 78 of file ui_interface.cpp.

Here is the call graph for this function:

◆ AmountHighWarn()

std::string AmountHighWarn ( const std::string &  optname)

Definition at line 73 of file ui_interface.cpp.

Here is the call graph for this function:

◆ InitError()

bool InitError ( const std::string &  str)

Show error message.

Definition at line 62 of file ui_interface.cpp.

Here is the caller graph for this function:

◆ InitWarning()

void InitWarning ( const std::string &  str)

Show warning message.

Definition at line 68 of file ui_interface.cpp.

Variable Documentation

◆ uiInterface

CClientUIInterface uiInterface

Definition at line 11 of file ui_interface.cpp.