blob: e403032ff4954af3e74f7af2415f80aeea964f6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package cgeo.geocaching.maps.interfaces;
import android.app.Activity;
/**
* Defines functions of a factory class to get implementation specific objects
* (GeoPoints, OverlayItems, ...)
*/
public interface MapProvider {
public boolean isSameActivity(final MapSource source1, final MapSource source2);
public Class<? extends Activity> getMapClass();
public int getMapViewId();
public int getMapLayoutId();
public MapItemFactory getMapItemFactory();
public void registerMapSource(final MapSource mapSource);
}
|