blob: f43ceaf897ee2e3ab24ba46cc19bd654a853775a (
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
30
|
package cgeo.geocaching.mapinterfaces;
import android.app.Activity;
import android.content.Context;
import cgeo.geocaching.cgCoord;
import cgeo.geocaching.cgUser;
import cgeo.geocaching.geopoint.Geopoint;
/**
* Defines functions of a factory class to get implementation specific objects
* (GeoPoints, OverlayItems, ...)
* @author rsudev
*
*/
public interface MapFactory {
public Class<?extends Activity> getMapClass();
public int getMapViewId();
public int getMapLayoutId();
public GeoPointImpl getGeoPointBase(final Geopoint coords);
CacheOverlayItemImpl getCacheOverlayItem(cgCoord coordinate, String type);
public UserOverlayItemImpl getUserOverlayItemBase(Context context,
cgUser userOne);
}
|