]>
Commit | Line | Data |
---|---|---|
5cccb13d WL |
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" | |
6 | ||
7 | #include <string> | |
5cccb13d WL |
8 | #include "init.h" |
9 | ||
10 | int ThreadSafeMessageBox(const std::string& message, const std::string& caption, int style) | |
11 | { | |
12 | printf("%s: %s\n", caption.c_str(), message.c_str()); | |
13 | fprintf(stderr, "%s: %s\n", caption.c_str(), message.c_str()); | |
14 | return 4; | |
15 | } | |
16 | ||
17 | bool ThreadSafeAskFee(int64 nFeeRequired, const std::string& strCaption) | |
18 | { | |
19 | return true; | |
20 | } | |
21 | ||
22 | void MainFrameRepaint() | |
23 | { | |
24 | } | |
25 | ||
26 | void AddressBookRepaint() | |
27 | { | |
28 | } | |
29 | ||
30 | void InitMessage(const std::string &message) | |
31 | { | |
32 | } | |
33 | ||
34 | std::string _(const char* psz) | |
35 | { | |
36 | return psz; | |
37 | } | |
38 | ||
39 | void QueueShutdown() | |
40 | { | |
41 | // Without UI, Shutdown can simply be started in a new thread | |
42 | CreateThread(Shutdown, NULL); | |
43 | } | |
44 |