X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fqtui.h;h=405fc497c671cd36d0c63473bad353c0d9e65d37;hb=7cfbe1fee465e82ddbdc8ed17dfcce791bd765f5;hp=17fc44e94b6c162c09612ef233c688ada62a558a;hpb=bde280b9a4da2652716c8ffdeed9ebfa4461cc70;p=novacoin.git diff --git a/src/qtui.h b/src/qtui.h index 17fc44e..405fc49 100644 --- a/src/qtui.h +++ b/src/qtui.h @@ -5,10 +5,8 @@ #define BITCOIN_EXTERNUI_H #include -#include #include "wallet.h" -typedef void wxWindow; #define wxYES 0x00000002 #define wxOK 0x00000004 #define wxNO 0x00000008 @@ -35,14 +33,15 @@ 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 nFeeRequired, const std::string& strCaption, wxWindow* parent); -extern void CalledSetStatusBar(const std::string& strText, int nField); -extern void UIThreadCall(boost::function0 fn); +extern int ThreadSafeMessageBox(const std::string& message, const std::string& caption, int style=wxOK); +extern bool ThreadSafeAskFee(int64 nFeeRequired, const std::string& strCaption); +extern void ThreadSafeHandleURL(const std::string& strURL); extern void MainFrameRepaint(); +extern void AddressBookRepaint(); +extern void QueueShutdown(); extern void InitMessage(const std::string &message); extern std::string _(const char* psz);