-
+ C5EDF233D8CBC8937FB326D6FE9CC047562BCC6EAAE132905B18A34D2852433573B165AA8685BB0FE3D56BB0FA14383C6E8A296A48F5D0E080C2EA97B8987A54
bitcoin/src/qtui.h
(0 . 0)(1 . 80)
19064 // /****************************\
19065 // * EXPERIMENTAL BRANCH. *
19066 // * FOR LABORATORY USE ONLY. *
19067 // ********************************
19068 // ************
19069 // **************
19070 // ****************
19071 // **** **** ****
19072 // *** *** ***
19073 // *** *** ***
19074 // *** * * **
19075 // ******** ********
19076 // ******* ******
19077 // *** **
19078 // * ******* **
19079 // ** * * * * *
19080 // ** * * ***
19081 // **** * * * * ****
19082 // **** *** * * ** ***
19083 // **** ********* ******
19084 // ******* ***** *******
19085 // ********* ****** **
19086 // ** ****** ******
19087 // ** ******* **
19088 // ** ******* ***
19089 // **** ******** ************
19090 // ************ ************
19091 // ******** *******
19092 // ****** ****
19093 // *** ***
19094 // ********************************
19095 // Copyright (c) 2010 Satoshi Nakamoto
19096 // Distributed under the MIT/X11 software license, see the accompanying
19097 // file license.txt or http://www.opensource.org/licenses/mit-license.php.
19098 #ifndef BITCOIN_EXTERNUI_H
19099 #define BITCOIN_EXTERNUI_H
19100
19101 #include <string>
19102 #include <boost/function/function0.hpp>
19103 #include "wallet.h"
19104
19105 typedef void wxWindow;
19106 #define wxYES 0x00000002
19107 #define wxOK 0x00000004
19108 #define wxNO 0x00000008
19109 #define wxYES_NO (wxYES|wxNO)
19110 #define wxCANCEL 0x00000010
19111 #define wxAPPLY 0x00000020
19112 #define wxCLOSE 0x00000040
19113 #define wxOK_DEFAULT 0x00000000
19114 #define wxYES_DEFAULT 0x00000000
19115 #define wxNO_DEFAULT 0x00000080
19116 #define wxCANCEL_DEFAULT 0x80000000
19117 #define wxICON_EXCLAMATION 0x00000100
19118 #define wxICON_HAND 0x00000200
19119 #define wxICON_WARNING wxICON_EXCLAMATION
19120 #define wxICON_ERROR wxICON_HAND
19121 #define wxICON_QUESTION 0x00000400
19122 #define wxICON_INFORMATION 0x00000800
19123 #define wxICON_STOP wxICON_HAND
19124 #define wxICON_ASTERISK wxICON_INFORMATION
19125 #define wxICON_MASK (0x00000100|0x00000200|0x00000400|0x00000800)
19126 #define wxFORWARD 0x00001000
19127 #define wxBACKWARD 0x00002000
19128 #define wxRESET 0x00004000
19129 #define wxHELP 0x00008000
19130 #define wxMORE 0x00010000
19131 #define wxSETUP 0x00020000
19132
19133 extern int MyMessageBox(const std::string& message, const std::string& caption="Message", int style=wxOK, wxWindow* parent=NULL, int x=-1, int y=-1);
19134 #define wxMessageBox MyMessageBox
19135 extern int ThreadSafeMessageBox(const std::string& message, const std::string& caption, int style=wxOK, wxWindow* parent=NULL, int x=-1, int y=-1);
19136 extern bool ThreadSafeAskFee(int64 nFeeRequired, const std::string& strCaption, wxWindow* parent);
19137 extern void CalledSetStatusBar(const std::string& strText, int nField);
19138 extern void UIThreadCall(boost::function0<void> fn);
19139 extern void MainFrameRepaint();
19140 extern void InitMessage(const std::string &message);
19141 extern std::string _(const char* psz);
19142
19143 #endif