diff options
Diffstat (limited to 'include/rofi.h')
-rw-r--r-- | include/rofi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rofi.h b/include/rofi.h index a47a3aae..c790b0f6 100644 --- a/include/rofi.h +++ b/include/rofi.h @@ -34,6 +34,8 @@ typedef enum typedef void ( *switcher_free )( Switcher *data ); typedef char * ( *get_display_value )( unsigned int selected_line, const Switcher *data, int *state, int get_entry ); + +typedef char * ( *get_completion )( const Switcher *sw, unsigned int selected_line ); /** * State returned by the rofi window. */ @@ -289,6 +291,8 @@ struct _Switcher int ( *is_not_ascii )( const struct _Switcher *sw, unsigned int index ); + get_completion get_completion; + // Pointer to private data. void *private_data; |