Added ID3 searching
[kugel-rb.git] / apps / dbtree.h
blob5cf2e4feedaa4cefc6c007434bf154df12b5db3d
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
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 ****************************************************************************/
19 #ifndef DBTREE_H
20 #define DBTREE_H
22 #include "tree.h"
24 enum table { invalid, root, allsongs, allalbums, allartists,
25 albums4artist, songs4album,
26 search, searchartists, searchalbums, searchsongs };
28 int db_init(void);
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);
34 #else
35 int db_get_icon(struct tree_context* c);
36 #endif
39 #endif