altoslib: Move 'state_name' API to AltosCalData
[fw/altos] / altoslib / AltosDataListener.java
index 709b71b63037f3618add139a5032d0e32260fd8c..52aeb5d5d8a692c55142c23a94f3b7e385504ffc 100644 (file)
@@ -70,6 +70,10 @@ public abstract class AltosDataListener {
                return time;
        }
 
+       public String state_name() {
+               return cal_data().state_name();
+       }
+
        public void set_state(int state) {
                cal_data().set_state(state);
        }
@@ -86,6 +90,9 @@ public abstract class AltosDataListener {
                this.frequency = frequency;
        }
 
+       public void set_avoid_duplicate_files() {
+       }
+
        /* Called after all records are captured */
        public void finish() {
        }