OSDN Git Service

getnormalizedtxid now explains itself.
[monacoin/monacoin.git] / src / qt / transactiondesc.h
1 // Copyright (c) 2011-2013 The Bitcoin developers
2 // Distributed under the MIT/X11 software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5 #ifndef TRANSACTIONDESC_H
6 #define TRANSACTIONDESC_H
7
8 #include <QString>
9 #include <QObject>
10
11 class CWallet;
12 class CWalletTx;
13
14 /** Provide a human-readable extended HTML description of a transaction.
15  */
16 class TransactionDesc: public QObject
17 {
18     Q_OBJECT
19
20 public:
21     static QString toHTML(CWallet *wallet, CWalletTx &wtx);
22
23 private:
24     TransactionDesc() {}
25
26     static QString FormatTxStatus(const CWalletTx& wtx);
27 };
28
29 #endif // TRANSACTIONDESC_H