X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=altoslib%2FAltosConfigValues.java;h=9496fa3577636ff7e32f17923ccd3198c60e936e;hp=931d173cf5785300eba6b5986e88c9d6aa86d555;hb=47f4121ae6596bdf18566295df2fdbe94fe676b8;hpb=55db3b3e8addaa2dc0af50470d3bc8c25cb57df3 diff --git a/altoslib/AltosConfigValues.java b/altoslib/AltosConfigValues.java index 931d173c..9496fa35 100644 --- a/altoslib/AltosConfigValues.java +++ b/altoslib/AltosConfigValues.java @@ -3,7 +3,8 @@ * * 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. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,7 +16,7 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -package org.altusmetrum.altoslib_9; +package org.altusmetrum.altoslib_14; public interface AltosConfigValues { /* set and get all of the dialog values */ @@ -73,6 +74,16 @@ public interface AltosConfigValues { public abstract int pad_orientation(); + public abstract void set_accel_cal(int accel_cal_plus, int accel_cal_minus); + + public abstract int accel_cal_plus(); + + public abstract int accel_cal_minus(); + + public abstract void set_dirty(); + + public abstract void set_clean(); + public abstract void set_pyros(AltosPyro[] new_pyros); public abstract AltosPyro[] pyros() throws AltosConfigDataException; @@ -93,6 +104,10 @@ public interface AltosConfigValues { public abstract void set_aprs_format(int new_aprs_format); + public abstract int aprs_offset() throws AltosConfigDataException; + + public abstract void set_aprs_offset(int new_aprs_offset); + public abstract int beep() throws AltosConfigDataException; public abstract void set_beep(int new_beep);