telegps: Get telegps application working again
[fw/altos] / altosui / AltosDevice.java
index 3357c550fa632ab66c8f73773ae15849b3605c77..9e3b2a5a9c9a0ca2f75436ed92104336cecc6e4e 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
@@ -16,8 +17,6 @@
  */
 
 package altosui;
-import java.lang.*;
-import java.util.*;
 import libaltosJNI.*;
 
 public interface AltosDevice {
@@ -26,5 +25,6 @@ public interface AltosDevice {
        public abstract int getSerial();
        public abstract String getPath();
        public abstract boolean matchProduct(int product);
+       public abstract String getErrorString();
        public SWIGTYPE_p_altos_file open();
 }