2007-03-01 11:14:46 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
2007-03-29 22:51:03 +00:00
|
|
|
* $Id$
|
2007-03-01 11:14:46 +00:00
|
|
|
*
|
|
|
|
* Copyright (C) 2007 Jonathan Gordon
|
|
|
|
*
|
|
|
|
* All files in this archive are subject to the GNU General Public License.
|
|
|
|
* See the file COPYING in the source tree root for full license agreement.
|
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
#include "config.h"
|
2007-03-27 06:38:11 +00:00
|
|
|
#ifndef __ROOT_MENU_H__
|
|
|
|
#define __ROOT_MENU_H__
|
|
|
|
|
2007-03-01 11:14:46 +00:00
|
|
|
void root_menu(void);
|
|
|
|
|
|
|
|
enum {
|
2007-03-27 06:38:11 +00:00
|
|
|
/* from old menu api, but still required*/
|
|
|
|
MENU_ATTACHED_USB = -10,
|
|
|
|
MENU_SELECTED_EXIT = -9,
|
|
|
|
|
2007-04-12 15:28:51 +00:00
|
|
|
GO_TO_ROOTITEM_CONTEXT = -5,
|
2007-03-01 11:14:46 +00:00
|
|
|
GO_TO_PREVIOUS_MUSIC = -4,
|
|
|
|
GO_TO_PREVIOUS_BROWSER = -3,
|
|
|
|
GO_TO_PREVIOUS = -2,
|
|
|
|
GO_TO_ROOT = -1,
|
|
|
|
GO_TO_FILEBROWSER = 0,
|
|
|
|
GO_TO_DBBROWSER,
|
|
|
|
GO_TO_WPS,
|
|
|
|
GO_TO_MAINMENU,
|
|
|
|
#ifdef HAVE_RECORDING
|
|
|
|
GO_TO_RECSCREEN,
|
|
|
|
#endif
|
2007-04-05 02:50:43 +00:00
|
|
|
#if CONFIG_TUNER
|
2007-03-01 11:14:46 +00:00
|
|
|
GO_TO_FM,
|
|
|
|
#endif
|
|
|
|
GO_TO_RECENTBMARKS,
|
|
|
|
/* Do Not add any items above here unless you want it to be able to
|
|
|
|
be the "start screen" after a boot up. The setting in settings_list.c
|
|
|
|
will need editing if this is the case. */
|
2007-03-04 00:59:42 +00:00
|
|
|
GO_TO_BROWSEPLUGINS,
|
2007-03-01 11:14:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extern const struct menu_item_ex root_menu_;
|
2007-03-27 06:38:11 +00:00
|
|
|
|
|
|
|
#endif /* __ROOT_MENU_H__ */
|