Display a "freshness" indicator instead of nr of blocks
[novacoin.git] / src / qt / clientmodel.h
index 659fa65..6c2c275 100644 (file)
@@ -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