diff options
author | QC <qball@gmpclient.org> | 2015-03-30 20:12:22 +0200 |
---|---|---|
committer | QC <qball@gmpclient.org> | 2015-03-30 20:12:22 +0200 |
commit | 9ff5a615e9add14fae966d229bf468ec1a339da0 (patch) | |
tree | 4bc1acff05f19f7f4952a63f8355d13c97b99730 /include | |
parent | 55160c6eff8cc91a93da83be62fc8766cd1a388b (diff) |
Add combi viewer.
Use by adding combi to the list of enabled modi.
Diffstat (limited to 'include')
-rw-r--r-- | include/dialogs/combi.h | 5 | ||||
-rw-r--r-- | include/helper.h | 2 | ||||
-rw-r--r-- | include/rofi.h | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/include/dialogs/combi.h b/include/dialogs/combi.h new file mode 100644 index 00000000..d36c5a13 --- /dev/null +++ b/include/dialogs/combi.h @@ -0,0 +1,5 @@ +#ifndef __COMBI_DIALOG_H__ +#define __COMBI_DIALOG_H__ + +extern Switcher combi_mode; +#endif diff --git a/include/helper.h b/include/helper.h index f6cdba7f..80230a32 100644 --- a/include/helper.h +++ b/include/helper.h @@ -104,7 +104,7 @@ int find_arg ( const char * const key ); * @returns 1 when matches, 0 otherwise */ int token_match ( char **tokens, const char *input, int case_sensitive, - __attribute__( ( unused ) ) int index, + __attribute__( ( unused ) ) unsigned int index, __attribute__( ( unused ) ) Switcher * data ); /** diff --git a/include/rofi.h b/include/rofi.h index ad8190dd..1cb1947d 100644 --- a/include/rofi.h +++ b/include/rofi.h @@ -72,7 +72,7 @@ typedef enum * * @returns 1 when it matches, 0 if not. */ -typedef int ( *menu_match_cb )( char **tokens, const char *input, int case_sensitive, int index, Switcher *data ); +typedef int ( *menu_match_cb )( char **tokens, const char *input, int case_sensitive, unsigned int index, Switcher *data ); /** * @param lines An array of strings to display. |