altosui: Call config UI from AltosConfigData directly
[fw/altos] / altoslib / AltosConfigValues.java
diff --git a/altoslib/AltosConfigValues.java b/altoslib/AltosConfigValues.java
new file mode 100644 (file)
index 0000000..69239f2
--- /dev/null
@@ -0,0 +1,75 @@
+/*
+ * Copyright © 2012 Keith Packard <keithp@keithp.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
+package org.altusmetrum.AltosLib;
+
+public interface AltosConfigValues {
+       /* set and get all of the dialog values */
+       public abstract void set_product(String product);
+
+       public abstract void set_version(String version);
+
+       public abstract void set_serial(int serial);
+
+       public abstract void set_main_deploy(int new_main_deploy);
+
+       public abstract int main_deploy();
+
+       public abstract void set_apogee_delay(int new_apogee_delay);
+
+       public abstract int apogee_delay();
+
+       public abstract void set_apogee_lockout(int new_apogee_lockout);
+
+       public abstract int apogee_lockout();
+
+       public abstract void set_radio_frequency(double new_radio_frequency);
+
+       public abstract double radio_frequency();
+
+       public abstract void set_radio_calibration(int new_radio_calibration);
+
+       public abstract int radio_calibration();
+
+       public abstract void set_radio_enable(int new_radio_enable);
+
+       public abstract int radio_enable();
+
+       public abstract void set_callsign(String new_callsign);
+
+       public abstract String callsign();
+
+       public abstract void set_flight_log_max(int new_flight_log_max);
+
+       public abstract void set_flight_log_max_enabled(boolean enable);
+
+       public abstract int flight_log_max();
+
+       public abstract void set_flight_log_max_limit(int flight_log_max_limit);
+
+       public abstract void set_ignite_mode(int new_ignite_mode);
+
+       public abstract int ignite_mode();
+
+       public abstract void set_pad_orientation(int new_pad_orientation);
+
+       public abstract int pad_orientation();
+
+       public abstract void set_pyros(AltosPyro[] new_pyros);
+
+       public abstract AltosPyro[] pyros();
+}