diff options
Diffstat (limited to 'gui/include/editaddressdialog.h')
-rw-r--r-- | gui/include/editaddressdialog.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gui/include/editaddressdialog.h b/gui/include/editaddressdialog.h index 650ed534a0..8e4a0388c2 100644 --- a/gui/include/editaddressdialog.h +++ b/gui/include/editaddressdialog.h @@ -12,8 +12,15 @@ class EditAddressDialog : public QDialog Q_OBJECT public: - explicit EditAddressDialog(QWidget *parent = 0); - ~EditAddressDialog(); + enum Mode { + NewReceivingAddress, + NewSendingAddress, + EditReceivingAddress, + EditSendingAddress + }; + + explicit EditAddressDialog(Mode mode, QWidget *parent = 0); + ~EditAddressDialog(); private: Ui::EditAddressDialog *ui; |