Display a "freshness" indicator instead of nr of blocks
[novacoin.git] / src / qt / clientmodel.h
index 18b3ba1..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
@@ -29,6 +35,8 @@ public:
     // Return conservative estimate of total number of blocks, or 0 if unknown
     int getTotalBlocksEstimate() const;
 
+    QString formatFullVersion() const;
+
 private:
     CWallet *wallet;