]> Git Repo - VerusCoin.git/blob - src/qt/transactiondesc.h
maturity
[VerusCoin.git] / src / qt / transactiondesc.h
1 // Copyright (c) 2011-2013 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.
4
5 #ifndef BITCOIN_QT_TRANSACTIONDESC_H
6 #define BITCOIN_QT_TRANSACTIONDESC_H
7
8 #include <QObject>
9 #include <QString>
10
11 class TransactionRecord;
12
13 class CWallet;
14 class CWalletTx;
15
16 /** Provide a human-readable extended HTML description of a transaction.
17  */
18 class TransactionDesc: public QObject
19 {
20     Q_OBJECT
21
22 public:
23     static QString toHTML(CWallet *wallet, CWalletTx &wtx, TransactionRecord *rec, int unit);
24
25 private:
26     TransactionDesc() {}
27
28     static QString FormatTxStatus(const CWalletTx& wtx);
29 };
30
31 #endif // BITCOIN_QT_TRANSACTIONDESC_H
This page took 0.026957 seconds and 4 git commands to generate.