1 package org.rpi.player.events;
2
3 import org.rpi.playlist.CustomTrack;
4
5 public class EventStatusChanged implements EventBase {
6
7 public EnumPlayerEvents getType()
8 {
9 return EnumPlayerEvents.EVENTSTATUSCHANGED;
10 }
11
12 private CustomTrack current_track = null;
13
14
15
16
17
18
19
20
21 public String getStatus() {
22 return status;
23 }
24
25
26
27
28 public void setStatus(String status) {
29 this.status = status;
30 }
31
32 private String status = "";
33
34 public void setTrack(CustomTrack current_track) {
35 this.current_track = current_track;
36 }
37
38 public CustomTrack getTrack()
39 {
40 return current_track;
41 }
42
43 }