Added support for very large tables in ID3 database.
[kugel-rb.git] / apps / dbtree.h
blob5fa09b0eaf9228f26679a571dd8255322d0f4a25
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, allsongs, allalbums, allartists,
25 albums4artist, songs4album };
27 int db_init(void);
28 void db_enter(struct tree_context* c);
29 void db_exit(struct tree_context* c);
30 int db_load(struct tree_context* c);
31 #ifdef HAVE_LCD_BITMAP
32 const char* db_get_icon(struct tree_context* c);
33 #else
34 int db_get_icon(struct tree_context* c);
35 #endif
38 #endif