Bitcoin ABC  0.22.12
P2P Digital Currency
noui.h
Go to the documentation of this file.
1 // Copyright (c) 2013-2014 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 
10 struct bilingual_str;
11 
13 bool noui_ThreadSafeMessageBox(const bilingual_str &message,
14  const std::string &caption, unsigned int style);
17  const bilingual_str & /* ignored interactive message */,
18  const std::string &message, const std::string &caption, unsigned int style);
20 void noui_InitMessage(const std::string &message);
21 
23 void noui_connect();
24 
29 void noui_test_redirect();
30 
34 void noui_reconnect();
35 
36 #endif // BITCOIN_NOUI_H
Bilingual messages:
Definition: translation.h:17
bool noui_ThreadSafeQuestion(const bilingual_str &, const std::string &message, const std::string &caption, unsigned int style)
Non-GUI handler, which logs and prints questions.
Definition: noui.cpp:48
bool noui_ThreadSafeMessageBox(const bilingual_str &message, const std::string &caption, unsigned int style)
Non-GUI handler, which logs and prints messages.
Definition: noui.cpp:20
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:55
void noui_reconnect()
Reconnects the regular Non-GUI handlers after having used noui_test_redirect.
Definition: noui.cpp:98
void noui_connect()
Connect all bitcoind signal handlers.
Definition: noui.cpp:59