X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fqtui.h;h=c25abf5e673046f2a46d1ce7bfb7d037a6ff8b61;hb=d11488abd05cb39a9f481e7c4c35f780197a3d28;hp=42f44e0d04da104e5049dee38cd4079e846e6241;hpb=0030c1bd6cdee44d9f59af9a023cd39cbd335bd5;p=novacoin.git diff --git a/src/qtui.h b/src/qtui.h index 42f44e0..c25abf5 100644 --- a/src/qtui.h +++ b/src/qtui.h @@ -1,11 +1,12 @@ // Copyright (c) 2010 Satoshi Nakamoto // Distributed under the MIT/X11 software license, see the accompanying -// file license.txt or http://www.opensource.org/licenses/mit-license.php. +// file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_EXTERNUI_H #define BITCOIN_EXTERNUI_H #include #include +#include "wallet.h" typedef void wxWindow; #define wxYES 0x00000002 @@ -34,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