From 854aa554533fcb5f93559220b474043f28ce45d4 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Mon, 9 Jan 2017 18:32:26 +0100 Subject: Better error reporting (1) --- include/rofi.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/rofi.h b/include/rofi.h index fad90e49..bfa66d28 100644 --- a/include/rofi.h +++ b/include/rofi.h @@ -36,6 +36,12 @@ unsigned int rofi_get_num_enabled_modi ( void ); */ const Mode * rofi_get_mode ( unsigned int index ); +/** + * @param str A GString with an error message to display. + * + * Queue an error. + */ +void rofi_add_error_message ( GString *str ); /** * @param code the code to return * -- cgit v1.2.3