diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2007-01-08 23:53:00 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2007-01-08 23:53:00 +0000 |
| commit | 7039a05147b8bbfc829babea1c65bd436450b505 (patch) | |
| tree | 4ba555eb84ed97b72b0575034d5b0530a393713e /songdbj/RundbEntry.java | |
| parent | 6d4c19707ef95942e323cbdc89fbbfdbe45e7cc5 (diff) | |
| download | rockbox-7039a05147b8bbfc829babea1c65bd436450b505.zip rockbox-7039a05147b8bbfc829babea1c65bd436450b505.tar.gz rockbox-7039a05147b8bbfc829babea1c65bd436450b505.tar.bz2 rockbox-7039a05147b8bbfc829babea1c65bd436450b505.tar.xz | |
Splitting out songdbj
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11953 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'songdbj/RundbEntry.java')
| -rw-r--r-- | songdbj/RundbEntry.java | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/songdbj/RundbEntry.java b/songdbj/RundbEntry.java deleted file mode 100644 index c13cbe4..0000000 --- a/songdbj/RundbEntry.java +++ /dev/null @@ -1,28 +0,0 @@ -import java.io.*; - -public class RundbEntry extends Entry { - protected FileEntry file; - protected short rating, voladj; - protected int playcount,lastplayed; - - public RundbEntry(FileEntry f) { - file=f; - rating=0; - voladj=0; - playcount=0; - lastplayed=0; - } - - public void write(DataOutputStream w) throws IOException { - w.writeInt(file.getOffset()); - w.writeInt(file.getHash()); - w.writeShort(rating); - w.writeShort(voladj); - w.writeInt(playcount); - w.writeInt(lastplayed); - } - - public static int entrySize() { - return 20; - } -}
\ No newline at end of file |