diff options
Diffstat (limited to 'atari/misc.h')
-rw-r--r-- | atari/misc.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/atari/misc.h b/atari/misc.h index a0e53d11e..0ccaaa7a8 100644 --- a/atari/misc.h +++ b/atari/misc.h @@ -89,4 +89,14 @@ long nkc_to_input_key(short nkc, long * ucs4_out); */ void die(const char * const error) __attribute__ ((noreturn)); +/** + * Warn the user of an event. + * + * \param[in] message A warning looked up in the message translation table + * \param[in] detail Additional text to be displayed or NULL. + * \return NSERROR_OK on success or error code if there was a + * faliure displaying the message to the user. + */ +nserror atari_warn_user(const char *warning, const char *detail); + #endif |