1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (C) 2005 by Björn Stenberg
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 ****************************************************************************/
25 enum table
{ invalid
, root
, allsongs
, allalbums
, allartists
,
26 albums4artist
, songs4album
, songs4artist
,
27 search
, searchartists
, searchalbums
, searchsongs
};
29 int db_enter(struct tree_context
* c
);
30 void db_exit(struct tree_context
* c
);
31 int db_load(struct tree_context
* c
);
32 #ifdef HAVE_LCD_BITMAP
33 const char* db_get_icon(struct tree_context
* c
);
35 int db_get_icon(struct tree_context
* c
);
37 int db_get_filename(struct tree_context
* c
, char *buf
, int buflen
);