Anoncoin  0.9.4
P2P Digital Currency
transactiondesc.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2013 The Bitcoin developers
2 // Copyright (c) 2013-2014 The Anoncoin Core developers
3 // Distributed under the MIT/X11 software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #ifndef TRANSACTIONDESC_H
7 #define TRANSACTIONDESC_H
8 
9 #include <QObject>
10 #include <QString>
11 
12 class TransactionRecord;
13 class CWallet;
14 class CWalletTx;
15 
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:
27 
28  static QString FormatTxStatus(const CWalletTx& wtx);
29 };
30 
31 #endif // TRANSACTIONDESC_H
Provide a human-readable extended HTML description of a transaction.
UI model for a transaction.
A transaction with a bunch of additional info that only the owner cares about.
Definition: wallet.h:464
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
Definition: wallet.h:101
static QString FormatTxStatus(const CWalletTx &wtx)
static QString toHTML(CWallet *wallet, CWalletTx &wtx, TransactionRecord *rec, int unit)