X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fqtui.h;h=79873702702537d0dad39a68a520dbf103d27fc7;hb=fe1725a141334dab82ca007fb6fc983c358e35b2;hp=3eef1ce5e0225763e31c84a64f1d52d436f9e6a7;hpb=21d9f36781604e4ca9fc35dc65265593423b73e9;p=novacoin.git diff --git a/src/qtui.h b/src/qtui.h index 3eef1ce..7987370 100644 --- a/src/qtui.h +++ b/src/qtui.h @@ -4,8 +4,6 @@ #ifndef BITCOIN_EXTERNUI_H #define BITCOIN_EXTERNUI_H -#include - #include #include #include "wallet.h" @@ -37,11 +35,14 @@ 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 extern int ThreadSafeMessageBox(const std::string& message, const std::string& caption, int style=wxOK, wxWindow* parent=NULL, int x=-1, int y=-1); -extern bool ThreadSafeAskFee(int64_t nFeeRequired, const std::string& strCaption, wxWindow* parent); +extern bool ThreadSafeAskFee(int64 nFeeRequired, const std::string& strCaption, wxWindow* parent); +extern void ThreadSafeHandleURL(const std::string& strURL); extern void CalledSetStatusBar(const std::string& strText, int nField); extern void UIThreadCall(boost::function0 fn); extern void MainFrameRepaint();