6 #ifndef BITCOIN_NODE_INTERFACE_UI_H 7 #define BITCOIN_NODE_INTERFACE_UI_H 71 #define ADD_SIGNALS_DECL_WRAPPER(signal_name, rtype, ...) \ 72 rtype signal_name(__VA_ARGS__); \ 73 using signal_name##Sig = rtype(__VA_ARGS__); \ 74 boost::signals2::connection signal_name##_connect(std::function<signal_name##Sig> fn); 124 #endif // BITCOIN_NODE_INTERFACE_UI_H Predefined combinations for certain default usage cases.
SynchronizationState
Current sync state passed to tip changed callbacks.
static bool ThreadSafeMessageBox(BitcoinGUI *gui, const bilingual_str &message, const std::string &caption, unsigned int style)
Mask of all available buttons in CClientUIInterface::MessageBoxFlags This needs to be updated...
bool InitError(const bilingual_str &str)
Show error message.
ADD_SIGNALS_DECL_WRAPPER(ThreadSafeMessageBox, bool, const bilingual_str &message, const std::string &caption, unsigned int style)
Show message box.
Signals for UI communication.
void InitWarning(const bilingual_str &str)
Show warning message.
Force blocking, modal message box dialog (not just OS notification)
CClientUIInterface uiInterface
These values are taken from qmessagebox.h "enum StandardButton" to be directly usable.
static void InitMessage(SplashScreen *splash, const std::string &message)
MessageBoxFlags
Flags for CClientUIInterface::ThreadSafeMessageBox.
static void ShowProgress(SplashScreen *splash, const std::string &title, int nProgress, bool resume_possible)
The block chain is a tree shaped structure starting with the genesis block at the root...
Mask of all available icons in CClientUIInterface::MessageBoxFlags This needs to be updated...
Do not print contents of message to debug log.