Changed local library repository to be on Vipul's ECS space, allows building of stere...
[stereo.git] / DAAPLib / src / mpris / dbustypes / StatusCode.java
blobac38fbf14f7c253681ed7dcbdb728dd2755e07c9
1 package mpris.dbustypes;
3 import org.freedesktop.dbus.Position;
4 import org.freedesktop.dbus.Struct;
6 public class StatusCode extends Struct {
7 public final @Position(0) int playstate;
8 public final @Position(1) int random;
9 public final @Position(2) int repeat;
10 public final @Position(3) int loop;
12 public StatusCode(int playstate, boolean random, boolean repeat, boolean loop) {
13 this.playstate = playstate;
14 this.random = random ? 1 : 0;
15 this.repeat = repeat ? 1 : 0;
16 this.loop = loop ? 1 : 0;