altoslib: Make sure AltosFlightSeries is filled in before use
[fw/altos] / altoslib / AltosWriter.java
index a3a394d31f674ff1fc0b3dc26a7ba9ea3cc4cb24..717f1a8f2505a15bcac00b6442a14659fca0b910 100644 (file)
@@ -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
@@ -19,7 +20,7 @@ package org.altusmetrum.altoslib_11;
 
 public interface AltosWriter {
 
-       public void write(AltosStateIterable states);
+       public void write(AltosFlightSeries series);
 
        public void close();
 }