diff options
| author | Keith Packard <keithp@keithp.com> | 2013-03-24 16:15:21 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2013-03-24 16:15:21 -0700 |
| commit | 26b60e16c984255e869300b4aeafc12dd37fbd09 (patch) | |
| tree | 1ebe600881ec75e226e90c2ef7dde65b909c5c7f /altoslib/AltosFlashListener.java | |
| parent | 4e606d05f4523a5afc46fbb7cdd8fd3c12836ab9 (diff) | |
altosui/altoslib: Move more flashing code from altosui to altoslib
Required a bit of refactoring to eliminate swing types from the
flashing code, but nothing major.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosFlashListener.java')
| -rw-r--r-- | altoslib/AltosFlashListener.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/altoslib/AltosFlashListener.java b/altoslib/AltosFlashListener.java new file mode 100644 index 00000000..ab50b74a --- /dev/null +++ b/altoslib/AltosFlashListener.java @@ -0,0 +1,22 @@ +/* + * Copyright © 2013 Keith Packard <keithp@keithp.com> + * + * 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. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + */ + +package org.altusmetrum.altoslib_1; + +public interface AltosFlashListener { + public void position(String label, int percent); +} |
