diff options
| author | rsudev <rasch@munin-soft.de> | 2013-11-23 22:12:24 +0100 |
|---|---|---|
| committer | rsudev <rasch@munin-soft.de> | 2013-11-23 22:13:06 +0100 |
| commit | 652722134c0d18dbe77dd952903a71ae14755d27 (patch) | |
| tree | d3613d8d906b938de5d612b5f75b3cc72605f9c2 /main/src/cgeo/geocaching/Geocache.java | |
| parent | 6240d934fc7e0d6b52fdf3b2cf21d0e72fdbf7c7 (diff) | |
| download | cgeo-652722134c0d18dbe77dd952903a71ae14755d27.zip cgeo-652722134c0d18dbe77dd952903a71ae14755d27.tar.gz cgeo-652722134c0d18dbe77dd952903a71ae14755d27.tar.bz2 | |
Implements stable keys for opencaching waypoints
additionally extend ex- and import (gpx) to also contain visited and
userdefined.
Diffstat (limited to 'main/src/cgeo/geocaching/Geocache.java')
| -rw-r--r-- | main/src/cgeo/geocaching/Geocache.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/Geocache.java b/main/src/cgeo/geocaching/Geocache.java index 8cfedb3..731f214 100644 --- a/main/src/cgeo/geocaching/Geocache.java +++ b/main/src/cgeo/geocaching/Geocache.java @@ -1771,4 +1771,12 @@ public class Geocache implements ICache, IWaypoint { public void setLogPasswordRequired(boolean required) { logPasswordRequired = required; } + + public String getWaypointGpxId(String prefix) { + return getConnector().getWaypointGpxId(prefix, geocode); + } + + public String getWaypointPrefix(String name) { + return getConnector().getWaypointPrefix(name); + } } |
