X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=altoslib%2FAltosIdleMonitorListener.java;h=43e2376f110410b277d8e44650befa48b4715ace;hp=3c18bfaa5f957ffa3af1e4d33f3136bb2c7e8347;hb=6023ff81f1bbd240169b9548209133d3b02d475f;hpb=e2b472bbb2418fc13be42dbc7c52beb88479c46d diff --git a/altoslib/AltosIdleMonitorListener.java b/altoslib/AltosIdleMonitorListener.java index 3c18bfaa..43e2376f 100644 --- a/altoslib/AltosIdleMonitorListener.java +++ b/altoslib/AltosIdleMonitorListener.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,14 +16,10 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -package org.altusmetrum.AltosLib; - -import java.io.*; -import java.util.*; -import java.text.*; -import java.util.prefs.*; -import java.util.concurrent.*; +package org.altusmetrum.altoslib_13; public interface AltosIdleMonitorListener { - public void update(AltosState state); -} \ No newline at end of file + public void update(AltosState state, AltosListenerState listener_state); + public void error(String reason); + public void failed(); +}