experimental-genesis 1
experimental-genesis 2
experimental-genesis 3
experimental-genesis 4
experimental-genesis 5
experimental-genesis 6
experimental-genesis 7
experimental-genesis 8
experimental-genesis 9
experimental-genesis 10
experimental-genesis 11
experimental-genesis 12
experimental-genesis 13
experimental-genesis 14
experimental-genesis 15
experimental-genesis 16
experimental-genesis 17
experimental-genesis 18
experimental-genesis 19
experimental-genesis 20
experimental-genesis 21
experimental-genesis 22
experimental-genesis 23
experimental-genesis 24
experimental-genesis 25
experimental-genesis 26
experimental-genesis 27
experimental-genesis 28
experimental-genesis 29
experimental-genesis 30
experimental-genesis 31
experimental-genesis 32
experimental-genesis 33
experimental-genesis 34
experimental-genesis 35
experimental-genesis 36 #ifndef BITCOIN_NOUI_H
experimental-genesis 37 #define BITCOIN_NOUI_H
experimental-genesis 38
experimental-genesis 39 #include <string>
experimental-genesis 40 #include <boost/function.hpp>
experimental-genesis 41 #include "wallet.h"
experimental-genesis 42
experimental-genesis 43 typedef void wxWindow;
experimental-genesis 44 #define wxYES 0x00000002
experimental-genesis 45 #define wxOK 0x00000004
experimental-genesis 46 #define wxNO 0x00000008
experimental-genesis 47 #define wxYES_NO (wxYES|wxNO)
experimental-genesis 48 #define wxCANCEL 0x00000010
experimental-genesis 49 #define wxAPPLY 0x00000020
experimental-genesis 50 #define wxCLOSE 0x00000040
experimental-genesis 51 #define wxOK_DEFAULT 0x00000000
experimental-genesis 52 #define wxYES_DEFAULT 0x00000000
experimental-genesis 53 #define wxNO_DEFAULT 0x00000080
experimental-genesis 54 #define wxCANCEL_DEFAULT 0x80000000
experimental-genesis 55 #define wxICON_EXCLAMATION 0x00000100
experimental-genesis 56 #define wxICON_HAND 0x00000200
experimental-genesis 57 #define wxICON_WARNING wxICON_EXCLAMATION
experimental-genesis 58 #define wxICON_ERROR wxICON_HAND
experimental-genesis 59 #define wxICON_QUESTION 0x00000400
experimental-genesis 60 #define wxICON_INFORMATION 0x00000800
experimental-genesis 61 #define wxICON_STOP wxICON_HAND
experimental-genesis 62 #define wxICON_ASTERISK wxICON_INFORMATION
experimental-genesis 63 #define wxICON_MASK (0x00000100|0x00000200|0x00000400|0x00000800)
experimental-genesis 64 #define wxFORWARD 0x00001000
experimental-genesis 65 #define wxBACKWARD 0x00002000
experimental-genesis 66 #define wxRESET 0x00004000
experimental-genesis 67 #define wxHELP 0x00008000
experimental-genesis 68 #define wxMORE 0x00010000
experimental-genesis 69 #define wxSETUP 0x00020000
experimental-genesis 70
experimental-genesis 71 inline int MyMessageBox(const std::string& message, const std::string& caption="Message", int style=wxOK, wxWindow* parent=NULL, int x=-1, int y=-1)
experimental-genesis 72 {
experimental-genesis 73 printf("%s: %s\n", caption.c_str(), message.c_str());
experimental-genesis 74 fprintf(stderr, "%s: %s\n", caption.c_str(), message.c_str());
experimental-genesis 75 return 4;
experimental-genesis 76 }
experimental-genesis 77 #define wxMessageBox MyMessageBox
experimental-genesis 78
experimental-genesis 79 inline int ThreadSafeMessageBox(const std::string& message, const std::string& caption, int style=wxOK, wxWindow* parent=NULL, int x=-1, int y=-1)
experimental-genesis 80 {
experimental-genesis 81 return MyMessageBox(message, caption, style, parent, x, y);
experimental-genesis 82 }
experimental-genesis 83
experimental-genesis 84 inline bool ThreadSafeAskFee(int64 nFeeRequired, const std::string& strCaption, wxWindow* parent)
experimental-genesis 85 {
experimental-genesis 86 return true;
experimental-genesis 87 }
experimental-genesis 88
experimental-genesis 89 inline void CalledSetStatusBar(const std::string& strText, int nField)
experimental-genesis 90 {
experimental-genesis 91 }
experimental-genesis 92
experimental-genesis 93 inline void UIThreadCall(boost::function0<void> fn)
experimental-genesis 94 {
experimental-genesis 95 }
experimental-genesis 96
experimental-genesis 97 inline void MainFrameRepaint()
experimental-genesis 98 {
experimental-genesis 99 }
experimental-genesis 100
experimental-genesis 101 inline void InitMessage(const std::string &message)
experimental-genesis 102 {
experimental-genesis 103 }
experimental-genesis 104
experimental-genesis 105 #endif