diff options
Diffstat (limited to 'src/cgeo/geocaching/mapinterfaces/MapFactory.java')
| -rw-r--r-- | src/cgeo/geocaching/mapinterfaces/MapFactory.java | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/cgeo/geocaching/mapinterfaces/MapFactory.java b/src/cgeo/geocaching/mapinterfaces/MapFactory.java index f43ceaf..26703c5 100644 --- a/src/cgeo/geocaching/mapinterfaces/MapFactory.java +++ b/src/cgeo/geocaching/mapinterfaces/MapFactory.java @@ -1,30 +1,32 @@ 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; +import android.app.Activity; +import android.content.Context; + /** * Defines functions of a factory class to get implementation specific objects * (GeoPoints, OverlayItems, ...) + * * @author rsudev - * + * */ public interface MapFactory { - public Class<?extends Activity> getMapClass(); + public Class<? extends Activity> getMapClass(); - public int getMapViewId(); + public int getMapViewId(); - public int getMapLayoutId(); + public int getMapLayoutId(); - public GeoPointImpl getGeoPointBase(final Geopoint coords); + public GeoPointImpl getGeoPointBase(final Geopoint coords); - CacheOverlayItemImpl getCacheOverlayItem(cgCoord coordinate, String type); + CacheOverlayItemImpl getCacheOverlayItem(cgCoord coordinate, String type); - public UserOverlayItemImpl getUserOverlayItemBase(Context context, - cgUser userOne); + public UserOverlayItemImpl getUserOverlayItemBase(Context context, + cgUser userOne); } |
