aboutsummaryrefslogtreecommitdiff
path: root/src/noui.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-09-06 14:49:40 -0400
committerMarcoFalke <falke.marco@gmail.com>2018-09-06 15:00:01 -0400
commitdd031e383975ae42b4cddd9a5bf6080ef5b46afa (patch)
tree60134e16b936cd9df689e48a5693c1a1c5bc0946 /src/noui.h
parentadf27b531a7fcd7066ab6649e8073bd1895a823a (diff)
downloadbitcoin-dd031e383975ae42b4cddd9a5bf6080ef5b46afa.tar.xz
noui: Move handlers to header file
Diffstat (limited to 'src/noui.h')
-rw-r--r--src/noui.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/noui.h b/src/noui.h
index ff16cc9aa8..169c2bbd7f 100644
--- a/src/noui.h
+++ b/src/noui.h
@@ -5,6 +5,16 @@
#ifndef BITCOIN_NOUI_H
#define BITCOIN_NOUI_H
-extern void noui_connect();
+#include <string>
+
+/** Non-GUI handler, which logs and prints messages. */
+bool noui_ThreadSafeMessageBox(const std::string& message, const std::string& caption, unsigned int style);
+/** Non-GUI handler, which logs and prints questions. */
+bool noui_ThreadSafeQuestion(const std::string& /* ignored interactive message */, const std::string& message, const std::string& caption, unsigned int style);
+/** Non-GUI handler, which only logs a message. */
+void noui_InitMessage(const std::string& message);
+
+/** Connect all bitcoind signal handlers */
+void noui_connect();
#endif // BITCOIN_NOUI_H