6 #ifndef FABCOIN_UI_INTERFACE_H 7 #define FABCOIN_UI_INTERFACE_H 12 #include <boost/signals2/last_value.hpp> 13 #include <boost/signals2/signal.hpp> 75 boost::signals2::signal<bool (const std::string& message, const std::string& caption, unsigned int style), boost::signals2::last_value<bool> >
ThreadSafeMessageBox;
78 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;
81 boost::signals2::signal<void (const std::string &message)>
InitMessage;
95 boost::signals2::signal<void (CWallet* wallet)>
LoadWallet;
98 boost::signals2::signal<void (const std::string &title, int nProgress)>
ShowProgress;
121 std::string
AmountErrMsg(
const char*
const optname,
const std::string& strValue);
125 #endif // FABCOIN_UI_INTERFACE_H CClientUIInterface uiInterface
MessageBoxFlags
Flags for CClientUIInterface::ThreadSafeMessageBox.
Do not print contents of message to debug log.
boost::signals2::signal< void(bool networkActive)> NotifyNetworkActiveChanged
Network activity state changed.
bool InitError(const std::string &str)
Show error message.
boost::signals2::signal< void(CWallet *wallet)> LoadWallet
A wallet has been loaded.
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)
boost::signals2::signal< void(void)> BannedListChanged
Banlist did change.
boost::signals2::signal< void(bool, const CBlockIndex *)> NotifyBlockTip
New block has been accepted.
boost::signals2::signal< void(bool, const CBlockIndex *)> NotifyHeaderTip
Best header has changed.
void InitWarning(const std::string &str)
Show warning message.
ChangeType
General change type (added, updated, removed).
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 &title, int nProgress)> ShowProgress
Show progress e.g.
std::string AmountErrMsg(const char *const optname, const std::string &strValue)
boost::signals2::signal< void(int newNumConnections)> NotifyNumConnectionsChanged
Number of network connections changed.
std::string AmountHighWarn(const std::string &optname)
These values are taken from qmessagebox.h "enum StandardButton" to be directly usable.
The block chain is a tree shaped structure starting with the genesis block at the root...
boost::signals2::signal< void()> NotifyAlertChanged
Status bar alerts changed.
boost::signals2::signal< void(std::function< void(void)> action)> SetProgressBreakAction
Set progress break action (possible "cancel button" triggers that action)
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...
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< void(const std::string &message)> InitMessage
Progress message during initialization.
Predefined combinations for certain default usage cases.