]> git.sesse.net Git - vlc/blob - bindings/java-gcj/JVLCBoolVariable.java
fix xvmc video_output compilation
[vlc] / bindings / java-gcj / JVLCBoolVariable.java
1 public class JVLCBoolVariable extends JVLCVariable {
2
3     public JVLCBoolVariable(String name, int value) {
4         super(name);
5         if (value != 0) this.value = new Integer(1);
6         else this.value = new Integer(0);
7     }
8
9     public int getBoolValue() {
10         return ((Integer)value).intValue();
11     }
12
13 }