Use a messagebox to display the error when -server is provided without providing...
[novacoin.git] / src / qtui.h
index 3243164..193f849 100644 (file)
@@ -5,6 +5,8 @@
 #define BITCOIN_EXTERNUI_H
 
 #include <string>
+#include <boost/function/function0.hpp>
+#include "wallet.h"
 
 typedef void wxWindow;
 #define wxYES                   0x00000002
@@ -33,6 +35,8 @@ typedef void wxWindow;
 #define wxHELP                  0x00008000
 #define wxMORE                  0x00010000
 #define wxSETUP                 0x00020000
+// Force blocking, modal message box dialog (not just notification)
+#define wxMODAL                 0x00040000
 
 extern int MyMessageBox(const std::string& message, const std::string& caption="Message", int style=wxOK, wxWindow* parent=NULL, int x=-1, int y=-1);
 #define wxMessageBox  MyMessageBox
@@ -41,6 +45,7 @@ extern bool ThreadSafeAskFee(int64 nFeeRequired, const std::string& strCaption,
 extern void CalledSetStatusBar(const std::string& strText, int nField);
 extern void UIThreadCall(boost::function0<void> fn);
 extern void MainFrameRepaint();
+extern void InitMessage(const std::string &message);
 extern std::string _(const char* psz);
 
 #endif