diff options
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 c13cbe4924..0000000000 --- a/songdbj/RundbEntry.java +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | import java.io.*; | ||
2 | |||
3 | public class RundbEntry extends Entry { | ||
4 | protected FileEntry file; | ||
5 | protected short rating, voladj; | ||
6 | protected int playcount,lastplayed; | ||
7 | |||
8 | public RundbEntry(FileEntry f) { | ||
9 | file=f; | ||
10 | rating=0; | ||
11 | voladj=0; | ||
12 | playcount=0; | ||
13 | lastplayed=0; | ||
14 | } | ||
15 | |||
16 | public void write(DataOutputStream w) throws IOException { | ||
17 | w.writeInt(file.getOffset()); | ||
18 | w.writeInt(file.getHash()); | ||
19 | w.writeShort(rating); | ||
20 | w.writeShort(voladj); | ||
21 | w.writeInt(playcount); | ||
22 | w.writeInt(lastplayed); | ||
23 | } | ||
24 | |||
25 | public static int entrySize() { | ||
26 | return 20; | ||
27 | } | ||
28 | } \ No newline at end of file | ||