diff options
author | Keith Packard <keithp@keithp.com> | 2015-05-27 23:12:34 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2015-05-27 23:12:34 -0700 |
commit | 3b4e6da65158a434905dc652e46c69d2c38cea7f (patch) | |
tree | c9597692fb46faac5aca7546c7b882cc07303a65 /altoslib/AltosMapLoaderListener.java | |
parent | ccd557c846eed37328d6799f36e61308bcbb678a (diff) |
altoslib: Add map loading helper class
This adds the AltosMapLoader class, which iterates over a sequence of
zoom levels and formats to get local copies of a desired launch site.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosMapLoaderListener.java')
-rw-r--r-- | altoslib/AltosMapLoaderListener.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/altoslib/AltosMapLoaderListener.java b/altoslib/AltosMapLoaderListener.java new file mode 100644 index 00000000..79f8b9df --- /dev/null +++ b/altoslib/AltosMapLoaderListener.java @@ -0,0 +1,26 @@ +/* + * Copyright © 2015 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_7; + +public interface AltosMapLoaderListener { + public abstract void loader_start(int max); + + public abstract void loader_notify(int cur, int max, String name); + + public abstract void loader_done(int max); +} |