diff options
| author | Hennadii Stepanov <[email protected]> | 2020-06-10 11:44:48 +0300 |
|---|---|---|
| committer | Hennadii Stepanov <[email protected]> | 2020-06-10 15:01:20 +0300 |
| commit | d1ae7c0355662481a7d181a0a458284936d53eb1 (patch) | |
| tree | 55d250c43634c6a224d92944e22692bcf03efeff /src/warnings.h | |
| parent | refactor: Make GetWarnings() bilingual_str aware internally (diff) | |
| download | discoin-d1ae7c0355662481a7d181a0a458284936d53eb1.tar.xz discoin-d1ae7c0355662481a7d181a0a458284936d53eb1.zip | |
Make GetWarnings() return bilingual_str
Diffstat (limited to 'src/warnings.h')
| -rw-r--r-- | src/warnings.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/warnings.h b/src/warnings.h index 83b1add1e..8897ace9e 100644 --- a/src/warnings.h +++ b/src/warnings.h @@ -8,16 +8,18 @@ #include <string> +struct bilingual_str; + void SetMiscWarning(const std::string& strWarning); void SetfLargeWorkForkFound(bool flag); bool GetfLargeWorkForkFound(); void SetfLargeWorkInvalidChainFound(bool flag); /** Format a string that describes several potential problems detected by the core. * @param[in] verbose bool - * - if true, get all warnings, translated (where possible), separated by <hr /> + * - if true, get all warnings separated by <hr /> * - if false, get the most important warning * @returns the warning string */ -std::string GetWarnings(bool verbose); +bilingual_str GetWarnings(bool verbose); #endif // BITCOIN_WARNINGS_H |