Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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
10struct bilingual_str;
11
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);
20void noui_InitMessage(const std::string &message);
21
23void noui_connect();
24
30
34void noui_reconnect();
35
36#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:48
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
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_connect()
Connect all bitcoind signal handlers.
Definition noui.cpp:59
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Definition random.h:85
Bilingual messages:
Definition translation.h:17