diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-04-20 09:24:09 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-04-20 09:24:09 +0200 |
commit | 5edc7398485c000860068da6456a5b74a3709af4 (patch) | |
tree | d0d08f552ac05178948a7aef39ad99e0f6503e08 /include | |
parent | 9bd17ddfd01f3a2c7ba0679c8094b338b88dc377 (diff) |
Try to improve error message a bit (damn g_warning replace)
Diffstat (limited to 'include')
-rw-r--r-- | include/dialogs/script.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/dialogs/script.h b/include/dialogs/script.h index ec9a4383..5695b640 100644 --- a/include/dialogs/script.h +++ b/include/dialogs/script.h @@ -43,5 +43,14 @@ * @returns NULL when it fails, a newly allocated ScriptOptions when successful. */ Mode *script_switcher_parse_setup ( const char *str ); + +/** + * @param token The modi str to check + * + * Check if token could be a valid script modi. + * + * @returns true when valid. + */ +gboolean script_switcher_is_valid ( const char *token ); /*@}*/ #endif // ROFI_DIALOG_SCRIPT_H |