add export functionality for address book / receiving addresses
[novacoin.git] / src / qt / clientmodel.h
index a5028ff..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,11 +26,17 @@ 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
     bool inInitialBlockDownload() const;
     // Return conservative estimate of total number of blocks, or 0 if unknown
     int getTotalBlocksEstimate() const;
 
+    QString formatFullVersion() const;
+
 private:
     CWallet *wallet;