dogecoin/src/qt/transactiondesc.h
Philip Kaufmann bdd0c59ab0 Bitcoin-Qt: fixes for using display unit from options
- extend PaymentServer with setOptionsModel() and rework initNetManager()
  to make use of that
- fix all other places in the code to use display unit from options and no
  hard-coded unit
2013-08-29 10:38:51 +02:00

26 lines
459 B
C++

#ifndef TRANSACTIONDESC_H
#define TRANSACTIONDESC_H
#include <QString>
#include <QObject>
class CWallet;
class CWalletTx;
/** Provide a human-readable extended HTML description of a transaction.
*/
class TransactionDesc: public QObject
{
Q_OBJECT
public:
static QString toHTML(CWallet *wallet, CWalletTx &wtx, int unit);
private:
TransactionDesc() {}
static QString FormatTxStatus(const CWalletTx& wtx);
};
#endif // TRANSACTIONDESC_H