X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=altosui%2FAltosDevice.java;h=9e3b2a5a9c9a0ca2f75436ed92104336cecc6e4e;hp=3357c550fa632ab66c8f73773ae15849b3605c77;hb=247fa1c669f987830540e618bf263b08284118df;hpb=44fb71ca3e5bccd5f601fc5a2d5da7292050b1d6 diff --git a/altosui/AltosDevice.java b/altosui/AltosDevice.java index 3357c550..9e3b2a5a 100644 --- a/altosui/AltosDevice.java +++ b/altosui/AltosDevice.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 @@ -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(); }