diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2013-01-07 21:50:10 +0100 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2013-01-07 21:50:10 +0100 |
commit | 3fb0e5f2d74b851836473a780a593cc7893cca9a (patch) | |
tree | b5b621cd92483c0810524fc1e89385df573ecb2f /main/src/cgeo/geocaching/apps/cache/navi/InternalMap.java | |
parent | 34add6e4844c9de685a8a16c1f164e896fdb18be (diff) | |
download | cgeo-3fb0e5f2d74b851836473a780a593cc7893cca9a.zip cgeo-3fb0e5f2d74b851836473a780a593cc7893cca9a.tar.gz cgeo-3fb0e5f2d74b851836473a780a593cc7893cca9a.tar.bz2 |
Refactoring: rename cgWaypoint into Waypoint
Diffstat (limited to 'main/src/cgeo/geocaching/apps/cache/navi/InternalMap.java')
-rw-r--r-- | main/src/cgeo/geocaching/apps/cache/navi/InternalMap.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/apps/cache/navi/InternalMap.java b/main/src/cgeo/geocaching/apps/cache/navi/InternalMap.java index 8185f40..db842ad 100644 --- a/main/src/cgeo/geocaching/apps/cache/navi/InternalMap.java +++ b/main/src/cgeo/geocaching/apps/cache/navi/InternalMap.java @@ -1,8 +1,8 @@ package cgeo.geocaching.apps.cache.navi; import cgeo.geocaching.R; +import cgeo.geocaching.Waypoint; import cgeo.geocaching.cgCache; -import cgeo.geocaching.cgWaypoint; import cgeo.geocaching.apps.AbstractApp; import cgeo.geocaching.enumerations.WaypointType; import cgeo.geocaching.geopoint.Geopoint; @@ -27,12 +27,12 @@ class InternalMap extends AbstractApp implements CacheNavigationApp, WaypointNav } @Override - public void navigate(Activity activity, cgWaypoint waypoint) { + public void navigate(Activity activity, Waypoint waypoint) { CGeoMap.startActivityCoords(activity, waypoint.getCoords(), waypoint.getWaypointType(), waypoint.getName()); } @Override - public boolean isEnabled(cgWaypoint waypoint) { + public boolean isEnabled(Waypoint waypoint) { return waypoint.getCoords() != null; } |