Changeset View
Changeset View
Standalone View
Standalone View
src/noui.h
Show All 14 Lines | bool noui_ThreadSafeQuestion( | ||||
const std::string & /* ignored interactive message */, | const std::string & /* 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(); | ||||
/** Suppress all bitcoind signal handlers. Used to suppress output during test | /** | ||||
* runs that produce expected errors */ | * Redirect all bitcoind signal handlers to LogPrintf. Used to check or suppress | ||||
void noui_suppress(); | * output during test runs that produce expected errors. | ||||
*/ | |||||
/** Reconnects the regular Non-GUI handlers after having used noui_suppress */ | void noui_test_redirect(); | ||||
/** | |||||
* Reconnects the regular Non-GUI handlers after having used noui_test_redirect. | |||||
*/ | |||||
void noui_reconnect(); | void noui_reconnect(); | ||||
#endif // BITCOIN_NOUI_H | #endif // BITCOIN_NOUI_H |