mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Make ThreadSafe{MessageBox|Question} bilingual
This commit is contained in:
@@ -213,11 +213,11 @@ public:
|
||||
|
||||
//! Register handler for message box messages.
|
||||
using MessageBoxFn =
|
||||
std::function<bool(const std::string& message, const std::string& caption, unsigned int style)>;
|
||||
std::function<bool(const bilingual_str& message, const std::string& caption, unsigned int style)>;
|
||||
virtual std::unique_ptr<Handler> handleMessageBox(MessageBoxFn fn) = 0;
|
||||
|
||||
//! Register handler for question messages.
|
||||
using QuestionFn = std::function<bool(const std::string& message,
|
||||
using QuestionFn = std::function<bool(const bilingual_str& message,
|
||||
const std::string& non_interactive_message,
|
||||
const std::string& caption,
|
||||
unsigned int style)>;
|
||||
|
||||
Reference in New Issue
Block a user