diff options
author | Kalle Wallin <kaw@linux.se> | 2004-04-19 22:12:53 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-04-19 22:12:53 +0000 |
commit | 7e3af33b2a6623f026fe80eb8c5026817f9d444a (patch) | |
tree | 261501be61897d6872cd26657a275b33bed49426 /command.h | |
parent | 230b0fe73ac3a07293d495e895207b43cdfb3369 (diff) | |
download | mpd-7e3af33b2a6623f026fe80eb8c5026817f9d444a.tar.gz mpd-7e3af33b2a6623f026fe80eb8c5026817f9d444a.tar.xz mpd-7e3af33b2a6623f026fe80eb8c5026817f9d444a.zip |
Added keydef screen
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@834 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'command.h')
-rw-r--r-- | command.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |