diff options
| author | Hennadii Stepanov <[email protected]> | 2020-04-11 18:47:17 +0300 |
|---|---|---|
| committer | Hennadii Stepanov <[email protected]> | 2020-05-05 04:45:59 +0300 |
| commit | 917ca93553917251e0fd59717a347c63cdfd8a14 (patch) | |
| tree | 6dd3c84f09109c1da19d1a23e798a32efdafa9a9 /src/interfaces | |
| parent | gui: Add detailed text to BitcoinGUI::message (diff) | |
| download | discoin-917ca93553917251e0fd59717a347c63cdfd8a14.tar.xz discoin-917ca93553917251e0fd59717a347c63cdfd8a14.zip | |
Make ThreadSafe{MessageBox|Question} bilingual
Diffstat (limited to 'src/interfaces')
| -rw-r--r-- | src/interfaces/node.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/node.h b/src/interfaces/node.h index db9b42b29..aef6b1945 100644 --- a/src/interfaces/node.h +++ b/src/interfaces/node.h @@ -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)>; |