Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
transactiondesc.h
Go to the documentation of this file.
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 <QObject>
9 #include <QString>
10 
11 class CWallet;
12 class CWalletTx;
13 
16 class TransactionDesc: public QObject
17 {
18  Q_OBJECT
19 
20 public:
21  static QString toHTML(CWallet *wallet, CWalletTx &wtx, int vout, int unit);
22 
23 private:
25 
26  static QString FormatTxStatus(const CWalletTx& wtx);
27 };
28 
29 #endif // TRANSACTIONDESC_H
Provide a human-readable extended HTML description of a transaction.
A transaction with a bunch of additional info that only the owner cares about.
Definition: wallet.h:451
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
Definition: wallet.h:100
static QString FormatTxStatus(const CWalletTx &wtx)
static QString toHTML(CWallet *wallet, CWalletTx &wtx, int vout, int unit)