Update Bugreport Links
[bitcoinplatinum.git] / src / noui.cpp
blobdb25f2d28504b2fafe8f64b99d0577431bbb1b59
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 COPYING or http://www.opensource.org/licenses/mit-license.php.
5 #include "ui_interface.h"
6 #include "init.h"
7 #include "bitcoinrpc.h"
9 #include <string>
11 static int noui_ThreadSafeMessageBox(const std::string& message, const std::string& caption, int style)
13 printf("%s: %s\n", caption.c_str(), message.c_str());
14 fprintf(stderr, "%s: %s\n", caption.c_str(), message.c_str());
15 return 4;
18 static bool noui_ThreadSafeAskFee(int64 nFeeRequired, const std::string& strCaption)
20 return true;
23 void noui_connect()
25 // Connect bitcoind signal handlers
26 uiInterface.ThreadSafeMessageBox.connect(noui_ThreadSafeMessageBox);
27 uiInterface.ThreadSafeAskFee.connect(noui_ThreadSafeAskFee);