summaryrefslogtreecommitdiff
path: root/apps/plugins/searchengine/dbinterface.h
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-04-28 14:06:20 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-04-28 14:06:20 +0000
commit4350eec6bb2e87ee4b777911dbb2dbbf2a27ab7a (patch)
treeb725cbe68978df0e7a395b0a34576b4eb9fc098d /apps/plugins/searchengine/dbinterface.h
parent8c4e2be4806a2271a5dddc4e1efc5599d588b414 (diff)
downloadrockbox-4350eec6bb2e87ee4b777911dbb2dbbf2a27ab7a.zip
rockbox-4350eec6bb2e87ee4b777911dbb2dbbf2a27ab7a.tar.gz
rockbox-4350eec6bb2e87ee4b777911dbb2dbbf2a27ab7a.tar.bz2
rockbox-4350eec6bb2e87ee4b777911dbb2dbbf2a27ab7a.tar.xz
Proper headers, simulator support should (emphasis on should) work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6370 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/searchengine/dbinterface.h')
-rw-r--r--apps/plugins/searchengine/dbinterface.h32
1 files changed, 25 insertions, 7 deletions
diff --git a/apps/plugins/searchengine/dbinterface.h b/apps/plugins/searchengine/dbinterface.h
index 32363b1..ef90d63 100644
--- a/apps/plugins/searchengine/dbinterface.h
+++ b/apps/plugins/searchengine/dbinterface.h
@@ -1,3 +1,21 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2005 by Michiel van der Kolk
+ *
+ * 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.
+ *
+ ****************************************************************************/
struct entry {
int loadedfiledata,
loadedsongdata,
@@ -5,17 +23,17 @@ struct entry {
loadedalbumname,
loadedartistname;
char *filename;
- int hash;
- int songentry;
- int rundbentry;
+ long hash;
+ long songentry;
+ long rundbentry;
short year;
short bitrate;
- int rating;
- int playcount;
+ long rating;
+ long playcount;
char *title;
char *genre;
- int artistoffset;
- int albumoffset;
+ long artistoffset;
+ long albumoffset;
char *artistname;
char *albumname;
};