diff options
| author | Keith Packard <keithp@keithp.com> | 2010-11-09 10:21:34 -0800 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2010-11-09 10:21:34 -0800 |
| commit | eb77e806ded99532dc7eaa39c1893f075b028af6 (patch) | |
| tree | 87473598b7baaf2432eb230508b41fba11fea51b /ao-tools/altosui/AltosFlightDisplay.java | |
| parent | a0a92c605e238277c9881545a7226e53b5dbc295 (diff) | |
altosui: Create abstract interface for flight data display
This allows the implementation of the flight data display to occur in
the flight UI instead of the display thread.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/altosui/AltosFlightDisplay.java')
| -rw-r--r-- | ao-tools/altosui/AltosFlightDisplay.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ao-tools/altosui/AltosFlightDisplay.java b/ao-tools/altosui/AltosFlightDisplay.java new file mode 100644 index 00000000..d18d1d1f --- /dev/null +++ b/ao-tools/altosui/AltosFlightDisplay.java @@ -0,0 +1,24 @@ +/* + * Copyright © 2010 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 altosui; + +public interface AltosFlightDisplay { + void reset(); + + void show(AltosState state, int crc_errors); +} |
