diff options
Diffstat (limited to 'main/src/cgeo/geocaching/connector/IConnector.java')
| -rw-r--r-- | main/src/cgeo/geocaching/connector/IConnector.java | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/connector/IConnector.java b/main/src/cgeo/geocaching/connector/IConnector.java index 2262e47..a96ee10 100644 --- a/main/src/cgeo/geocaching/connector/IConnector.java +++ b/main/src/cgeo/geocaching/connector/IConnector.java @@ -215,9 +215,26 @@ public interface IConnector { /** * Get the list of <b>potentially</b> possible log types for a cache. Those may still be filter further during the * actual logging activity. - * + * * @param geocache * @return */ public List<LogType> getPossibleLogTypes(Geocache geocache); + + /** + * Get the gpx id for a waypoint when exporting. For some connectors there is an inherent name logic, + * for others its just the 'prefix' + * + * @param prefix + * @return + */ + public String getWaypointGpxId(String prefix, String geocode); + + /** + * Get the 'prefix' (key) for a waypoint from the 'name' in the gpx file + * + * @param name + * @return + */ + public String getWaypointPrefix(String name); } |
