OSDN Git Service

Initial commit
[monacoin/monacoin.git] / src / qt / transactiondesc.h
1 #ifndef TRANSACTIONDESC_H
2 #define TRANSACTIONDESC_H
3
4 #include <QString>
5 #include <QObject>
6
7 class CWallet;
8 class CWalletTx;
9
10 /** Provide a human-readable extended HTML description of a transaction.
11  */
12 class TransactionDesc: public QObject
13 {
14     Q_OBJECT
15
16 public:
17     static QString toHTML(CWallet *wallet, CWalletTx &wtx);
18
19 private:
20     TransactionDesc() {}
21
22     static QString FormatTxStatus(const CWalletTx& wtx);
23 };
24
25 #endif // TRANSACTIONDESC_H