aboutsummaryrefslogtreecommitdiffstats
path: root/command.h
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-04-19 22:12:53 +0000
committerKalle Wallin <kaw@linux.se>2004-04-19 22:12:53 +0000
commit7e3af33b2a6623f026fe80eb8c5026817f9d444a (patch)
tree261501be61897d6872cd26657a275b33bed49426 /command.h
parent230b0fe73ac3a07293d495e895207b43cdfb3369 (diff)
downloadmpd-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.h4
1 files changed, 4 insertions, 0 deletions
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);