summaryrefslogtreecommitdiffstats
path: root/apps/dbtree.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2005-01-17 11:39:46 +0000
committerBjörn Stenberg <bjorn@haxx.se>2005-01-17 11:39:46 +0000
commit8a5de5fec96171e739442b0601047d93079e3179 (patch)
tree5d0a66bea94f7296aaaacc6d42ceecb84e736242 /apps/dbtree.h
parentfc53fd708fc12e1a67217c102ea8180b2bde6a6f (diff)
downloadrockbox-8a5de5fec96171e739442b0601047d93079e3179.tar.gz
rockbox-8a5de5fec96171e739442b0601047d93079e3179.tar.bz2
rockbox-8a5de5fec96171e739442b0601047d93079e3179.zip
Added ID3 database support. Still very early.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5575 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/dbtree.h')
-rw-r--r--apps/dbtree.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/apps/dbtree.h b/apps/dbtree.h
new file mode 100644
index 0000000000..7664715775
--- /dev/null
+++ b/apps/dbtree.h
@@ -0,0 +1,39 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2002 by Bjrn Stenberg
+ *
+ * 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.
+ *
+ ****************************************************************************/
+#ifndef DBTREE_H
+#define DBTREE_H
+
+#include "tree.h"
+
+enum table { invalid, allsongs, allalbums, allartists, albums, songs };
+
+int db_init(void);
+void db_enter(struct tree_context* c);
+void db_exit(struct tree_context* c);
+int db_load(struct tree_context* c,
+ bool* dir_buffer_full);
+#ifdef HAVE_LCD_BITMAP
+const char* db_get_icon(struct tree_context* c);
+#else
+int db_get_icon(struct tree_context* c);
+#endif
+
+
+#endif
+