Avoid redundant redeclaration of GetWarnings(const string&)
[bitcoinplatinum.git] / src / qt / transactiondesc.h
blob01b90b130f6878d9a17773b5cc38521edfa2f196
1 // Copyright (c) 2011-2014 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 #ifndef BITCOIN_QT_TRANSACTIONDESC_H
6 #define BITCOIN_QT_TRANSACTIONDESC_H
8 #include <QObject>
9 #include <QString>
11 class TransactionRecord;
13 class CWallet;
14 class CWalletTx;
16 /** Provide a human-readable extended HTML description of a transaction.
18 class TransactionDesc: public QObject
20 Q_OBJECT
22 public:
23 static QString toHTML(CWallet *wallet, CWalletTx &wtx, TransactionRecord *rec, int unit);
25 private:
26 TransactionDesc() {}
28 static QString FormatTxStatus(const CWalletTx& wtx);
31 #endif // BITCOIN_QT_TRANSACTIONDESC_H