From 7e3af33b2a6623f026fe80eb8c5026817f9d444a Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Mon, 19 Apr 2004 22:12:53 +0000 Subject: Added keydef screen git-svn-id: https://svn.musicpd.org/ncmpc/trunk@834 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- command.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'command.h') diff --git a/command.h b/command.h index 5c449bcb5..d0ec67f24 100644 --- a/command.h +++ b/command.h @@ -38,6 +38,7 @@ typedef enum CMD_SCREEN_PLAY, CMD_SCREEN_FILE, CMD_SCREEN_SEARCH, + CMD_SCREEN_KEYDEF, CMD_SCREEN_HELP, CMD_QUIT } command_t; @@ -50,11 +51,14 @@ typedef struct char *description; } command_definition_t; +command_definition_t *get_command_definitions(void); +command_t find_key_command(int key, command_definition_t *cmds); void command_dump_keys(void); int check_key_bindings(void); int write_key_bindings(FILE *f); +char *key2str(int key); char *get_key_description(command_t command); char *get_key_command_name(command_t command); char *get_key_names(command_t command, int all); -- cgit v1.2.3