1234567891011121314151617181920212223242526 |
- // ECOin - Copyright (c) - 2014/2022 - GPLv3 - epsylon@riseup.net (https://03c8.net)
- #include "ui_interface.h"
- #include "init.h"
- #include "ecoinrpc.h"
- #include <string>
- static int noui_ThreadSafeMessageBox(const std::string& message, const std::string& caption, int style)
- {
- printf("%s: %s\n", caption.c_str(), message.c_str());
- fprintf(stderr, "%s: %s\n", caption.c_str(), message.c_str());
- return 4;
- }
- static bool noui_ThreadSafeAskFee(int64 nFeeRequired, const std::string& strCaption)
- {
- return true;
- }
- void noui_connect()
- {
- uiInterface.ThreadSafeMessageBox.connect(noui_ThreadSafeMessageBox);
- uiInterface.ThreadSafeAskFee.connect(noui_ThreadSafeAskFee);
- }
|