summaryrefslogtreecommitdiffstats
path: root/include/rofi.h
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-01-09 18:32:26 +0100
committerDave Davenport <qball@gmpclient.org>2017-01-09 18:32:26 +0100
commit854aa554533fcb5f93559220b474043f28ce45d4 (patch)
tree1bb409371616df3162cc4dae62ed3ddf90b80a1e /include/rofi.h
parenta199fa3275c2bf2dfe6320de1410266ac626c6db (diff)
Better error reporting (1)
Diffstat (limited to 'include/rofi.h')
-rw-r--r--include/rofi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/rofi.h b/include/rofi.h
index fad90e49..bfa66d28 100644
--- a/include/rofi.h
+++ b/include/rofi.h
@@ -37,6 +37,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
*
* Return value are used for integrating dmenu rofi in scripts.