6 #ifndef BITCOIN_UI_INTERFACE_H
7 #define BITCOIN_UI_INTERFACE_H
12 #include <boost/signals2/last_value.hpp>
13 #include <boost/signals2/signal.hpp>
77 boost::signals2::signal<bool (
const std::string& message,
const std::string& caption,
unsigned int style), boost::signals2::last_value<bool> >
ThreadSafeMessageBox;
80 boost::signals2::signal<bool (
const std::string& message,
const std::string& noninteractive_message,
const std::string& caption,
unsigned int style), boost::signals2::last_value<bool> >
ThreadSafeQuestion;
83 boost::signals2::signal<void (
const std::string &message)>
InitMessage;
101 boost::signals2::signal<void (
const std::string &title,
int nProgress)>
ShowProgress;
121 std::string
AmountErrMsg(
const char*
const optname,
const std::string& strValue);
Basic key store, that keeps keys in an address->secret map.
The block chain is a tree shaped structure starting with the genesis block at the root,...
Signals for UI communication.
boost::signals2::signal< void(const uint256 &hash, ChangeType status)> NotifyAlertChanged
New, updated or cancelled alert.
boost::signals2::signal< void(CWallet *wallet)> LoadWallet
A wallet has been loaded.
boost::signals2::signal< void(bool, const CBlockIndex *)> NotifyBlockTip
New block has been accepted.
boost::signals2::signal< void(int newNumConnections)> NotifyNumConnectionsChanged
Number of network connections changed.
MessageBoxFlags
Flags for CClientUIInterface::ThreadSafeMessageBox.
@ ICON_MASK
Mask of all available icons in CClientUIInterface::MessageBoxFlags This needs to be updated,...
@ BTN_MASK
Mask of all available buttons in CClientUIInterface::MessageBoxFlags This needs to be updated,...
@ BTN_OK
These values are taken from qmessagebox.h "enum StandardButton" to be directly usable.
@ MSG_INFORMATION
Predefined combinations for certain default usage cases.
@ MODAL
Force blocking, modal message box dialog (not just OS notification)
@ SECURE
Do not print contents of message to debug log.
boost::signals2::signal< void(const std::string &title, int nProgress)> ShowProgress
Show progress e.g.
boost::signals2::signal< void(bool, const CBlockIndex *)> NotifyHeaderTip
Best header has changed.
boost::signals2::signal< bool(const std::string &message, const std::string &caption, unsigned int style), boost::signals2::last_value< bool > > ThreadSafeMessageBox
Show message box.
boost::signals2::signal< bool(const std::string &message, const std::string &noninteractive_message, const std::string &caption, unsigned int style), boost::signals2::last_value< bool > > ThreadSafeQuestion
If possible, ask the user a question.
boost::signals2::signal< void(const std::string &message)> InitMessage
Progress message during initialization.
boost::signals2::signal< void(void)> BannedListChanged
Banlist did change.
boost::signals2::signal< void(bool networkActive)> NotifyNetworkActiveChanged
Network activity state changed.
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances,...
std::string AmountErrMsg(const char *const optname, const std::string &strValue)
ChangeType
General change type (added, updated, removed).
bool InitError(const std::string &str)
Show error message.
CClientUIInterface uiInterface
std::string AmountHighWarn(const std::string &optname)
void InitWarning(const std::string &str)
Show warning message.