blob: 626a410495cdba9ac91d3aba1322dbe60fdcda10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
package cgeo.geocaching.maps.interfaces;
import android.app.Activity;
import java.util.Map;
/**
* Defines functions of a factory class to get implementation specific objects
* (GeoPoints, OverlayItems, ...)
*
* @author rsudev
*
*/
public interface MapProvider {
public Map<Integer, String> getMapSources();
public boolean isMySource(int sourceId);
public boolean isSameActivity(int sourceId1, int sourceId2);
public Class<? extends Activity> getMapClass();
public int getMapViewId();
public int getMapLayoutId();
public MapItemFactory getMapItemFactory();
}
|