6 #ifndef BITCOIN_NODE_UI_INTERFACE_H 7 #define BITCOIN_NODE_UI_INTERFACE_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); 121 #endif // BITCOIN_NODE_UI_INTERFACE_H CClientUIInterface uiInterface
static void NotifyAlertChanged(ClientModel *clientmodel)
MessageBoxFlags
Flags for CClientUIInterface::ThreadSafeMessageBox.
SynchronizationState
Current sync state passed to tip changed callbacks.
Do not print contents of message to debug log.
static void ShowProgress(ClientModel *clientmodel, const std::string &title, int nProgress)
static bool ThreadSafeMessageBox(BitcoinGUI *gui, const bilingual_str &message, const std::string &caption, unsigned int style)
ADD_SIGNALS_DECL_WRAPPER(ThreadSafeMessageBox, bool, const bilingual_str &message, const std::string &caption, unsigned int style)
Show message box.
Mask of all available buttons in CClientUIInterface::MessageBoxFlags This needs to be updated...
static bool NotifyHeaderTip(CChainState &chainstate) LOCKS_EXCLUDED(cs_main)
Signals for UI communication.
Force blocking, modal message box dialog (not just OS notification)
static void InitMessage(SplashScreen *splash, const std::string &message)
constexpr auto AbortError
static void BannedListChanged(ClientModel *clientmodel)
These values are taken from qmessagebox.h "enum StandardButton" to be directly usable.
void InitWarning(const bilingual_str &str)
Show warning message.
The block chain is a tree shaped structure starting with the genesis block at the root...
static void NotifyNetworkActiveChanged(ClientModel *clientmodel, bool networkActive)
Mask of all available icons in CClientUIInterface::MessageBoxFlags This needs to be updated...
bool InitError(const bilingual_str &str)
Show error message.
static void NotifyNumConnectionsChanged(ClientModel *clientmodel, int newNumConnections)
Predefined combinations for certain default usage cases.