Revert change 13001, since it causes the metadata to be re-read for partially buffere...
[kugel-rb.git] / apps / root_menu.h
blobee82357103e41d62409b4cc32d008f992ccd5258
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2007 Jonathan Gordon
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
19 #include "config.h"
20 #ifndef __ROOT_MENU_H__
21 #define __ROOT_MENU_H__
23 void root_menu(void);
25 enum {
26 /* from old menu api, but still required*/
27 MENU_ATTACHED_USB = -10,
28 MENU_SELECTED_EXIT = -9,
30 GO_TO_PREVIOUS_MUSIC = -4,
31 GO_TO_PREVIOUS_BROWSER = -3,
32 GO_TO_PREVIOUS = -2,
33 GO_TO_ROOT = -1,
34 GO_TO_FILEBROWSER = 0,
35 GO_TO_DBBROWSER,
36 GO_TO_WPS,
37 GO_TO_MAINMENU,
38 #ifdef HAVE_RECORDING
39 GO_TO_RECSCREEN,
40 #endif
41 #if CONFIG_TUNER
42 GO_TO_FM,
43 #endif
44 GO_TO_RECENTBMARKS,
45 /* Do Not add any items above here unless you want it to be able to
46 be the "start screen" after a boot up. The setting in settings_list.c
47 will need editing if this is the case. */
48 GO_TO_BROWSEPLUGINS,
51 extern const struct menu_item_ex root_menu_;
53 #endif /* __ROOT_MENU_H__ */