Bitcoin Core 28.99.0
P2P Digital Currency
noui.h
Go to the documentation of this file.
1// Copyright (c) 2013-2020 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
10struct bilingual_str;
11
13bool noui_ThreadSafeMessageBox(const bilingual_str& message, const std::string& caption, unsigned int style);
15bool noui_ThreadSafeQuestion(const bilingual_str& /* ignored interactive message */, const std::string& message, const std::string& caption, unsigned int style);
17void noui_InitMessage(const std::string& message);
18
20void noui_connect();
21
24
26void noui_reconnect();
27
28#endif // BITCOIN_NOUI_H
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:50
void noui_test_redirect()
Redirect all bitcoind signal handlers to LogPrintf.
Definition: noui.cpp:84
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:94
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:22
void noui_connect()
Connect all bitcoind signal handlers.
Definition: noui.cpp:60
Bilingual messages:
Definition: translation.h:21