Changeset View
Changeset View
Standalone View
Standalone View
src/noui.h
// Copyright (c) 2013-2014 The Bitcoin Core developers | // Copyright (c) 2013-2014 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_NOUI_H | #ifndef BITCOIN_NOUI_H | ||||
#define BITCOIN_NOUI_H | #define BITCOIN_NOUI_H | ||||
#include <string> | #include <string> | ||||
struct bilingual_str; | |||||
/** Non-GUI handler, which logs and prints messages. */ | /** Non-GUI handler, which logs and prints messages. */ | ||||
bool noui_ThreadSafeMessageBox(const std::string &message, | bool noui_ThreadSafeMessageBox(const bilingual_str &message, | ||||
const std::string &caption, unsigned int style); | const std::string &caption, unsigned int style); | ||||
/** Non-GUI handler, which logs and prints questions. */ | /** Non-GUI handler, which logs and prints questions. */ | ||||
bool noui_ThreadSafeQuestion( | bool noui_ThreadSafeQuestion( | ||||
const std::string & /* ignored interactive message */, | const bilingual_str & /* ignored interactive message */, | ||||
const std::string &message, const std::string &caption, unsigned int style); | const std::string &message, const std::string &caption, unsigned int style); | ||||
/** Non-GUI handler, which only logs a message. */ | /** Non-GUI handler, which only logs a message. */ | ||||
void noui_InitMessage(const std::string &message); | void noui_InitMessage(const std::string &message); | ||||
/** Connect all bitcoind signal handlers */ | /** Connect all bitcoind signal handlers */ | ||||
void noui_connect(); | void noui_connect(); | ||||
/** | /** | ||||
Show All 11 Lines |