Add form for second authorization (2fa) with checking transaction hashes in blockchain
[novacoin.git] / src / qt / bitcoingui.h
index de83a58..20eb7ca 100644 (file)
@@ -13,6 +13,7 @@ class OverviewPage;
 class AddressBookPage;
 class SendCoinsDialog;
 class SignVerifyMessageDialog;
+class SecondAuthDialog;
 class MultisigDialog;
 class Notificator;
 class RPCConsole;
@@ -70,6 +71,7 @@ private:
     AddressBookPage *receiveCoinsPage;
     SendCoinsDialog *sendCoinsPage;
     SignVerifyMessageDialog *signVerifyMessageDialog;
+    SecondAuthDialog *secondAuthDialog;
     MultisigDialog *multisigPage;
 
     QLabel *labelEncryptionIcon;
@@ -88,6 +90,7 @@ private:
     QAction *addressBookAction;
     QAction *signMessageAction;
     QAction *verifyMessageAction;
+    QAction *secondAuthAction;
     QAction *multisigAction;
     QAction *aboutAction;
     QAction *receiveCoinsAction;
@@ -138,6 +141,7 @@ public slots:
     void setEncryptionStatus(int status);
 
     /** Notify the user of an error in the network or transaction handling code. */
+    void error(const QString &title, const QString &message, bool modal);
     void message(const QString &title, const QString &message, unsigned int style, const QString &detail=QString());
 
     /** Asks the user whether to pay the transaction fee or to cancel the transaction.
@@ -172,6 +176,9 @@ private slots:
     /** Show Sign/Verify Message dialog and switch to verify message tab */
     void gotoVerifyMessageTab(QString addr = "");
 
+    /** Show Second Auth dialog */
+    void gotoSecondAuthPage(QString addr = "");
+
     /** Show configuration dialog */
     void optionsClicked();
     /** Show about dialog */