diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-07-08 18:05:10 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-07-08 18:05:23 +0200 |
| commit | 84c8506e90c01b4ba38c19064389d8549593be2f (patch) | |
| tree | be3df9dae80d861245944dc257a7aff28002509d /src/qt/clientmodel.h | |
| parent | update README (diff) | |
| download | discoin-84c8506e90c01b4ba38c19064389d8549593be2f.tar.xz discoin-84c8506e90c01b4ba38c19064389d8549593be2f.zip | |
Display a "freshness" indicator instead of nr of blocks
Diffstat (limited to 'src/qt/clientmodel.h')
| -rw-r--r-- | src/qt/clientmodel.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h index 659fa6576..6c2c275ce 100644 --- a/src/qt/clientmodel.h +++ b/src/qt/clientmodel.h @@ -8,6 +8,10 @@ class AddressTableModel; class TransactionTableModel; class CWallet; +QT_BEGIN_NAMESPACE +class QDateTime; +QT_END_NAMESPACE + // Interface to Bitcoin network client class ClientModel : public QObject { @@ -22,6 +26,8 @@ public: int getNumConnections() const; int getNumBlocks() const; + QDateTime getLastBlockDate() const; + // Return true if client connected to testnet bool isTestNet() const; // Return true if core is doing initial block download |