Use a messagebox to display the error when -server is provided without providing...
[novacoin.git] / src / qt / transactiondesc.h
1 #ifndef TRANSACTIONDESC_H
2 #define TRANSACTIONDESC_H
3
4 #include <QString>
5 #include <QObject>
6 #include <string>
7
8 class CWallet;
9 class CWalletTx;
10
11 class TransactionDesc: public QObject
12 {
13     Q_OBJECT
14 public:
15     // Provide human-readable extended HTML description of a transaction
16     static QString toHTML(CWallet *wallet, CWalletTx &wtx);
17 private:
18     TransactionDesc() {}
19
20     static QString HtmlEscape(const QString& str, bool fMultiLine=false);
21     static QString HtmlEscape(const std::string &str, bool fMultiLine=false);
22     static QString FormatTxStatus(const CWalletTx& wtx);
23 };
24
25 #endif // TRANSACTIONDESC_H