6 #ifndef BITCOIN_UI_INTERFACE_H 7 #define BITCOIN_UI_INTERFACE_H 78 #define ADD_SIGNALS_DECL_WRAPPER(signal_name, rtype, ...) \ 79 rtype signal_name(__VA_ARGS__); \ 80 using signal_name##Sig = rtype(__VA_ARGS__); \ 81 boost::signals2::connection signal_name##_connect(std::function<signal_name##Sig> fn); \ 82 void signal_name##_disconnect(std::function<signal_name##Sig> fn); 85 ADD_SIGNALS_DECL_WRAPPER(ThreadSafeMessageBox,
bool,
const std::string& message,
const std::string& caption,
unsigned int style);
88 ADD_SIGNALS_DECL_WRAPPER(ThreadSafeQuestion,
bool,
const std::string& message,
const std::string& noninteractive_message,
const std::string& caption,
unsigned int style);
131 std::string
AmountErrMsg(
const char*
const optname,
const std::string& strValue);
135 #endif // BITCOIN_UI_INTERFACE_H CClientUIInterface uiInterface
MessageBoxFlags
Flags for CClientUIInterface::ThreadSafeMessageBox.
Do not print contents of message to debug log.
bool InitError(const std::string &str)
Show error message.
Mask of all available buttons in CClientUIInterface::MessageBoxFlags This needs to be updated...
Signals for UI communication.
Force blocking, modal message box dialog (not just OS notification)
void InitWarning(const std::string &str)
Show warning message.
ChangeType
General change type (added, updated, removed).
std::string AmountErrMsg(const char *const optname, const std::string &strValue)
std::string AmountHighWarn(const std::string &optname)
These values are taken from qmessagebox.h "enum StandardButton" to be directly usable.
ADD_SIGNALS_DECL_WRAPPER(ThreadSafeMessageBox, bool, const std::string &message, const std::string &caption, unsigned int style)
Show message box.
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...
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
Predefined combinations for certain default usage cases.