 |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Go to the documentation of this file.
6 #ifndef BITCOIN_GUIINTERFACE_H
7 #define BITCOIN_GUIINTERFACE_H
12 #include <boost/signals2/last_value.hpp>
13 #include <boost/signals2/signal.hpp>
80 boost::signals2::signal<bool(
const std::string& message,
const std::string& caption,
unsigned int style), boost::signals2::last_value<bool> >
ThreadSafeMessageBox;
83 boost::signals2::signal<void(
const std::string& message)>
InitMessage;
89 boost::signals2::signal<std::string(
const char* psz)>
Translate;
101 boost::signals2::signal<void(
const std::string& title,
int nProgress)>
ShowProgress;
119 inline std::string
_(
const char* psz)
122 return rv ? (*rv) : psz;
125 #endif // BITCOIN_GUIINTERFACE_H
@ MSG_INFORMATION
Predefined combinations for certain default usage cases.
@ MODAL
Force blocking, modal message box dialog (not just OS notification)
Signals for UI communication.
CClientUIInterface uiInterface
boost::signals2::signal< void(void)> BannedListChanged
Banlist did change.
@ BTN_OK
These values are taken from qmessagebox.h "enum StandardButton" to be directly usable.
boost::signals2::signal< void(int size, const uint256 &hash)> NotifyBlockSize
New block has been accepted and is over a certain size.
boost::signals2::signal< void(const std::string &message)> InitMessage
Progress message during initialization.
std::string _(const char *psz)
Translation function: Call Translate signal on UI interface, which returns a boost::optional result.
@ SECURE
Do not print contents of message to debug log.
@ ICON_MASK
Mask of all available icons in CClientUIInterface::MessageBoxFlags This needs to be updated,...
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()> NotifyAlertChanged
New, updated or cancelled alert.
256-bit unsigned big integer.
ChangeType
General change type (added, updated, removed).
boost::signals2::signal< void(CWallet *wallet)> LoadWallet
A wallet has been loaded.
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances,...
boost::signals2::signal< void()> ShowRecoveryDialog
Show recovery dialog.
boost::signals2::signal< std::string(const char *psz)> Translate
Translate a message to the native language of the user.
Basic key store, that keeps keys in an address->secret map.
@ BTN_MASK
Mask of all available buttons in CClientUIInterface::MessageBoxFlags This needs to be updated,...
boost::signals2::signal< void(bool fInitialDownload, const CBlockIndex *newTip)> NotifyBlockTip
New block has been accepted.
boost::signals2::signal< void(const std::string &title, int nProgress)> ShowProgress
Show progress e.g.
The block chain is a tree shaped structure starting with the genesis block at the root,...
MessageBoxFlags
Flags for CClientUIInterface::ThreadSafeMessageBox.
boost::signals2::signal< void(int newNumConnections)> NotifyNumConnectionsChanged
Number of network connections changed.