diff options
| author | Dusan Klinec <dusan.klinec@gmail.com> | 2019-06-17 17:14:13 +0200 |
|---|---|---|
| committer | Dusan Klinec <dusan.klinec@gmail.com> | 2019-07-15 17:54:50 +0200 |
| commit | 2d72f55e57ace903d705cf617f305f366cf5665e (patch) | |
| tree | dbfab7ca5cbdff6eda96c3c74b614b9c954623b4 /src/libwalletqt/Wallet.h | |
| parent | 702b654f09785d7aacd0794293947a09d611c5ad (diff) | |
| download | monzero-gui-2d72f55e57ace903d705cf617f305f366cf5665e.tar.gz monzero-gui-2d72f55e57ace903d705cf617f305f366cf5665e.tar.xz monzero-gui-2d72f55e57ace903d705cf617f305f366cf5665e.zip | |
device: show address on device display
Diffstat (limited to 'src/libwalletqt/Wallet.h')
| -rw-r--r-- | src/libwalletqt/Wallet.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libwalletqt/Wallet.h b/src/libwalletqt/Wallet.h index 95d4a954..2469b2f2 100644 --- a/src/libwalletqt/Wallet.h +++ b/src/libwalletqt/Wallet.h @@ -179,6 +179,10 @@ public: Q_INVOKABLE void addSubaddress(const QString& label); Q_INVOKABLE QString getSubaddressLabel(quint32 accountIndex, quint32 addressIndex) const; Q_INVOKABLE void setSubaddressLabel(quint32 accountIndex, quint32 addressIndex, const QString &label); + Q_INVOKABLE void deviceShowAddressAsync(quint32 accountIndex, quint32 addressIndex, const QString &paymentId); + + //! hw-device backed wallets + Q_INVOKABLE bool isHwBacked() const; //! returns if view only wallet Q_INVOKABLE bool viewOnly() const; @@ -353,6 +357,7 @@ signals: void deviceButtonPressed(); void transactionCommitted(bool status, PendingTransaction *t, QStringList txid); void heightRefreshed(quint64 walletHeight, quint64 daemonHeight, quint64 targetHeight) const; + void deviceShowAddressShowed(); // emitted when transaction is created async void transactionCreated(PendingTransaction * transaction, QString address, QString paymentId, quint32 mixinCount); |
