only build the clipcounter for targets with recording
[maemo-rb.git] / apps / root_menu.h
blob0e189f84fccf42d80777807290ae3f3cca1760e5
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_ROOTITEM_CONTEXT = -5,
31 GO_TO_PREVIOUS_MUSIC = -4,
32 GO_TO_PREVIOUS_BROWSER = -3,
33 GO_TO_PREVIOUS = -2,
34 GO_TO_ROOT = -1,
35 GO_TO_FILEBROWSER = 0,
36 GO_TO_DBBROWSER,
37 GO_TO_WPS,
38 GO_TO_MAINMENU,
39 #ifdef HAVE_RECORDING
40 GO_TO_RECSCREEN,
41 #endif
42 #if CONFIG_TUNER
43 GO_TO_FM,
44 #endif
45 GO_TO_RECENTBMARKS,
46 /* Do Not add any items above here unless you want it to be able to
47 be the "start screen" after a boot up. The setting in settings_list.c
48 will need editing if this is the case. */
49 GO_TO_BROWSEPLUGINS,
52 extern const struct menu_item_ex root_menu_;
54 #endif /* __ROOT_MENU_H__ */