diff options
Diffstat (limited to 'src/noui.cpp')
-rw-r--r-- | src/noui.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/noui.cpp b/src/noui.cpp index c0e00c4715..fd285c5719 100644 --- a/src/noui.cpp +++ b/src/noui.cpp @@ -1,12 +1,14 @@ // Copyright (c) 2010 Satoshi Nakamoto -// Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2009-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. +#include "noui.h" + #include "ui_interface.h" -#include "init.h" -#include "bitcoinrpc.h" +#include "util.h" +#include <stdint.h> #include <string> static bool noui_ThreadSafeMessageBox(const std::string& message, const std::string& caption, unsigned int style) @@ -27,19 +29,19 @@ static bool noui_ThreadSafeMessageBox(const std::string& message, const std::str strCaption += caption; // Use supplied caption (can be empty) } - printf("%s: %s\n", strCaption.c_str(), message.c_str()); + LogPrintf("%s: %s\n", strCaption.c_str(), message.c_str()); fprintf(stderr, "%s: %s\n", strCaption.c_str(), message.c_str()); return false; } -static bool noui_ThreadSafeAskFee(int64 /*nFeeRequired*/) +static bool noui_ThreadSafeAskFee(int64_t /*nFeeRequired*/) { return true; } static void noui_InitMessage(const std::string &message) { - printf("init message: %s\n", message.c_str()); + LogPrintf("init message: %s\n", message.c_str()); } void noui_connect() |