X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fqtui.h;h=05a56678d1119bc8e61d4a35e50f1cbafeee2796;hb=d652709abaccff37c1e5ea36a8334ad643809d23;hp=3243164c10c962d850a65409a4bbf398b07c2afe;hpb=47c6215c223ac85eeb31504aa2a56369bdfb3789;p=novacoin.git diff --git a/src/qtui.h b/src/qtui.h index 3243164..05a5667 100644 --- a/src/qtui.h +++ b/src/qtui.h @@ -5,6 +5,8 @@ #define BITCOIN_EXTERNUI_H #include +#include +#include "wallet.h" typedef void wxWindow; #define wxYES 0x00000002 @@ -33,14 +35,18 @@ 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 ThreadSafeHandleURI(const std::string& strURI); extern void CalledSetStatusBar(const std::string& strText, int nField); extern void UIThreadCall(boost::function0 fn); extern void MainFrameRepaint(); +extern void InitMessage(const std::string &message); extern std::string _(const char* psz); #endif