transactiondesc.h 548 B

12345678910111213141516171819202122232425
  1. // ECOin - Copyright (c) - 2014/2021 - GPLv3 - epsylon@riseup.net (https://03c8.net)
  2. #ifndef TRANSACTIONDESC_H
  3. #define TRANSACTIONDESC_H
  4. #include <QString>
  5. #include <QObject>
  6. #include <string>
  7. class CWallet;
  8. class CWalletTx;
  9. /** Provide a human-readable extended HTML description of a transaction.*/
  10. class TransactionDesc: public QObject
  11. {
  12. Q_OBJECT
  13. public:
  14. static QString toHTML(CWallet *wallet, CWalletTx &wtx);
  15. private:
  16. TransactionDesc() {}
  17. static QString FormatTxStatus(const CWalletTx& wtx);
  18. };
  19. #endif // TRANSACTIONDESC_H