35 #include <sys/types.h> 71 G_GNUC_UNUSED
char **input,
72 G_GNUC_UNUSED
unsigned int selected_line )
97 static char *
_get_display_value (
const Mode *sw,
unsigned int selected_line,
int *state, G_GNUC_UNUSED GList **list,
int get_entry )
104 return g_strdup ( pd->
messages[selected_line] );
125 .cfg_name_key =
"display-keys",
131 ._get_completion = NULL,
133 .private_data = NULL,
static void help_keys_mode_destroy(Mode *sw)
static int help_keys_token_match(const Mode *data, rofi_int_matcher **tokens, unsigned int index)
static void get_apps(KeysHelpModePrivateData *pd)
void * mode_get_private_data(const Mode *mode)
int helper_token_match(rofi_int_matcher *const *tokens, const char *input)
char ** config_parser_return_display_help(unsigned int *length)
void mode_set_private_data(Mode *mode, void *pd)
static ModeMode help_keys_mode_result(G_GNUC_UNUSED Mode *sw, int mretv, G_GNUC_UNUSED char **input, G_GNUC_UNUSED unsigned int selected_line)
static unsigned int help_keys_mode_get_num_entries(const Mode *sw)
static int help_keys_mode_init(Mode *sw)
unsigned int messages_length
static char * _get_display_value(const Mode *sw, unsigned int selected_line, int *state, G_GNUC_UNUSED GList **list, int get_entry)