aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-07-08 18:05:10 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-07-08 18:05:23 +0200
commit84c8506e90c01b4ba38c19064389d8549593be2f (patch)
treebe3df9dae80d861245944dc257a7aff28002509d /src/qt/clientmodel.h
parent8ffec99b071df945e4d6c59641a89a8bd409c4ec (diff)
Display a "freshness" indicator instead of nr of blocks
Diffstat (limited to 'src/qt/clientmodel.h')
-rw-r--r--src/qt/clientmodel.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h
index 659fa65762..6c2c275cef 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