1 /* ncmpc (Ncurses MPD Client)
2 * (c) 2004-2018 The Music Player Daemon Project
3 * Project homepage: http://musicpd.org
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 #include "util/Compiler.h"
29 enum class Command : unsigned {
30 #ifdef ENABLE_KEYDEF_SCREEN
46 LIST_SCROLL_DOWN_LINE,
48 LIST_SCROLL_DOWN_HALF,
107 #ifdef ENABLE_ARTIST_SCREEN
110 #ifdef ENABLE_SEARCH_SCREEN
114 #ifdef ENABLE_SONG_SCREEN
117 #ifdef ENABLE_LYRICS_SCREEN
123 #ifdef ENABLE_OUTPUTS_SCREEN
126 #ifdef ENABLE_CHAT_SCREEN
135 const char *description;
136 } command_definition_t;
138 const command_definition_t *
139 get_command_definitions();
143 get_cmds_max_name_width();
146 const char *get_key_description(Command command);
149 const char *get_key_command_name(Command command);
153 get_key_command_from_name(const char *name);