Bitcoin Core  0.19.99
P2P Digital Currency
noui.h
Go to the documentation of this file.
1 // Copyright (c) 2013-2019 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_NOUI_H
6 #define BITCOIN_NOUI_H
7 
8 #include <string>
9 
11 bool noui_ThreadSafeMessageBox(const std::string& message, const std::string& caption, unsigned int style);
13 bool noui_ThreadSafeQuestion(const std::string& /* ignored interactive message */, const std::string& message, const std::string& caption, unsigned int style);
15 void noui_InitMessage(const std::string& message);
16 
18 void noui_connect();
19 
21 void noui_test_redirect();
22 
24 void noui_reconnect();
25 
26 #endif // BITCOIN_NOUI_H
bool noui_ThreadSafeMessageBox(const std::string &message, const std::string &caption, unsigned int style)
Non-GUI handler, which logs and prints messages.
Definition: noui.cpp:21
bool noui_ThreadSafeQuestion(const std::string &, const std::string &message, const std::string &caption, unsigned int style)
Non-GUI handler, which logs and prints questions.
Definition: noui.cpp:52
void noui_test_redirect()
Redirect all bitcoind signal handlers to LogPrintf.
Definition: noui.cpp:86
void noui_InitMessage(const std::string &message)
Non-GUI handler, which only logs a message.
Definition: noui.cpp:57
void noui_reconnect()
Reconnects the regular Non-GUI handlers after having used noui_test_redirect.
Definition: noui.cpp:96
void noui_connect()
Connect all bitcoind signal handlers.
Definition: noui.cpp:62