Bitcoin v0.3.10 · 2010-08-15
noui.h
1// Copyright (c) 2010 Satoshi Nakamoto2// Distributed under the MIT/X11 software license, see the accompanying3// file license.txt or http://www.opensource.org/licenses/mit-license.php.456inline int MyMessageBox(const string& message, const string& caption="Message", int style=4, void* parent=NULL, int x=-1, int y=-1)7{8 printf("%s: %s\n", caption.c_str(), message.c_str());9 fprintf(stderr, "%s: %s\n", caption.c_str(), message.c_str());10 return 4;11}12#define wxMessageBox MyMessageBox1314inline int ThreadSafeMessageBox(const string& message, const string& caption, int style, void* parent, int x, int y)15{16 return MyMessageBox(message, caption, style, parent, x, y);17}1819inline bool ThreadSafeAskFee(int64 nFeeRequired, const string& strCaption, void* parent)20{21 return true;22}2324inline void CalledSetStatusBar(const string& strText, int nField)25{26}2728inline void UIThreadCall(boost::function0<void> fn)29{30}3132inline void MainFrameRepaint()33{34}
Click a line number to link to it; use #L10-L20 for a range. "=" next to a version means the file is identical there.
