raw
experimental-genesis    1 //  /****************************\
experimental-genesis 2 // * EXPERIMENTAL BRANCH. *
experimental-genesis 3 // * FOR LABORATORY USE ONLY. *
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 // Copyright (c) 2010 Satoshi Nakamoto
experimental-genesis 33 // Distributed under the MIT/X11 software license, see the accompanying
experimental-genesis 34 // file license.txt or http://www.opensource.org/licenses/mit-license.php.
experimental-genesis 35 #ifndef BITCOIN_EXTERNUI_H
experimental-genesis 36 #define BITCOIN_EXTERNUI_H
experimental-genesis 37
experimental-genesis 38 #include <string>
experimental-genesis 39 #include <boost/function/function0.hpp>
experimental-genesis 40 #include "wallet.h"
experimental-genesis 41
experimental-genesis 42 typedef void wxWindow;
experimental-genesis 43 #define wxYES 0x00000002
experimental-genesis 44 #define wxOK 0x00000004
experimental-genesis 45 #define wxNO 0x00000008
experimental-genesis 46 #define wxYES_NO (wxYES|wxNO)
experimental-genesis 47 #define wxCANCEL 0x00000010
experimental-genesis 48 #define wxAPPLY 0x00000020
experimental-genesis 49 #define wxCLOSE 0x00000040
experimental-genesis 50 #define wxOK_DEFAULT 0x00000000
experimental-genesis 51 #define wxYES_DEFAULT 0x00000000
experimental-genesis 52 #define wxNO_DEFAULT 0x00000080
experimental-genesis 53 #define wxCANCEL_DEFAULT 0x80000000
experimental-genesis 54 #define wxICON_EXCLAMATION 0x00000100
experimental-genesis 55 #define wxICON_HAND 0x00000200
experimental-genesis 56 #define wxICON_WARNING wxICON_EXCLAMATION
experimental-genesis 57 #define wxICON_ERROR wxICON_HAND
experimental-genesis 58 #define wxICON_QUESTION 0x00000400
experimental-genesis 59 #define wxICON_INFORMATION 0x00000800
experimental-genesis 60 #define wxICON_STOP wxICON_HAND
experimental-genesis 61 #define wxICON_ASTERISK wxICON_INFORMATION
experimental-genesis 62 #define wxICON_MASK (0x00000100|0x00000200|0x00000400|0x00000800)
experimental-genesis 63 #define wxFORWARD 0x00001000
experimental-genesis 64 #define wxBACKWARD 0x00002000
experimental-genesis 65 #define wxRESET 0x00004000
experimental-genesis 66 #define wxHELP 0x00008000
experimental-genesis 67 #define wxMORE 0x00010000
experimental-genesis 68 #define wxSETUP 0x00020000
experimental-genesis 69
experimental-genesis 70 extern 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 71 #define wxMessageBox MyMessageBox
experimental-genesis 72 extern int ThreadSafeMessageBox(const std::string& message, const std::string& caption, int style=wxOK, wxWindow* parent=NULL, int x=-1, int y=-1);
experimental-genesis 73 extern bool ThreadSafeAskFee(int64 nFeeRequired, const std::string& strCaption, wxWindow* parent);
experimental-genesis 74 extern void CalledSetStatusBar(const std::string& strText, int nField);
experimental-genesis 75 extern void UIThreadCall(boost::function0<void> fn);
experimental-genesis 76 extern void MainFrameRepaint();
experimental-genesis 77 extern void InitMessage(const std::string &message);
experimental-genesis 78 extern std::string _(const char* psz);
experimental-genesis 79
experimental-genesis 80 #endif