001//License: GPL. For details, see LICENSE file.
002package org.openstreetmap.josm.plugins.streetside.cubemap;
003
004/**
005* Interface for listeners of the class {@link org.openstreetmap.josm.plugins.streetside.StreetsideData}.
006*
007* @author renerr18
008*
009*/
010public interface ITileDownloadingTaskListener {
011
012 /**
013 * Fired when a cubemap tile image is downloaded by a download worker.
014 * @param imageId image id
015 */
016 void tileAdded(String imageId);
017
018 /**
019  * Fired when multiple cubemap tile images are downloaded by a download worker.
020  * @param imageId image id
021  */
022  void tilesAdded(String[] imageId);
023}