summaryrefslogtreecommitdiff
path: root/altosui/AltosKML.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-09-05 11:33:48 -0700
committerKeith Packard <keithp@keithp.com>2013-09-05 11:35:14 -0700
commit5b976a6651f4eb05d30afc08b9e1f27c7e52ae00 (patch)
tree3a8f38d92fdc3b3e9e62d7744ff93a0f9ca8f7dc /altosui/AltosKML.java
parentb984ff81d6b8979574e0248ffe8876634b8e1942 (diff)
altoslib: Finish AltosState changes. Update version number.
Removes all of the AltosRecord bits, changes the monitor idle bits to have per-object state updaters. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosKML.java')
-rw-r--r--altosui/AltosKML.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/altosui/AltosKML.java b/altosui/AltosKML.java
index 8679178f..fbb0ece4 100644
--- a/altosui/AltosKML.java
+++ b/altosui/AltosKML.java
@@ -18,7 +18,7 @@
package altosui;
import java.io.*;
-import org.altusmetrum.altoslib_1.*;
+import org.altusmetrum.altoslib_2.*;
public class AltosKML implements AltosWriter {
@@ -110,7 +110,7 @@ public class AltosKML implements AltosWriter {
AltosGPS gps = state.gps;
double altitude;
- if (state.height() != AltosRecord.MISSING)
+ if (state.height() != AltosLib.MISSING)
altitude = state.height() + gps_start_altitude;
else
altitude = gps.alt;
@@ -138,9 +138,9 @@ public class AltosKML implements AltosWriter {
if (gps == null)
return;
- if (gps.lat == AltosRecord.MISSING)
+ if (gps.lat == AltosLib.MISSING)
return;
- if (gps.lon == AltosRecord.MISSING)
+ if (gps.lon == AltosLib.MISSING)
return;
if (!started) {
start(state);