1 // Copyright (c) 2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2012 The Bitcoin developers
3 // Distributed under the MIT/X11 software license, see the accompanying
4 // file license.txt or http://www.opensource.org/licenses/mit-license.php.
5 #include "ui_interface.h"
10 int ThreadSafeMessageBox(const std::string& message, const std::string& caption, int style)
12 printf("%s: %s\n", caption.c_str(), message.c_str());
13 fprintf(stderr, "%s: %s\n", caption.c_str(), message.c_str());
17 bool ThreadSafeAskFee(int64 nFeeRequired, const std::string& strCaption)
22 void MainFrameRepaint()
26 void AddressBookRepaint()
30 void InitMessage(const std::string &message)
34 std::string _(const char* psz)
41 // Without UI, Shutdown can simply be started in a new thread
42 CreateThread(Shutdown, NULL);