aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/IWaypoint.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/IWaypoint.java')
-rw-r--r--main/src/cgeo/geocaching/IWaypoint.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/IWaypoint.java b/main/src/cgeo/geocaching/IWaypoint.java
index 78e3b43..2b992e1 100644
--- a/main/src/cgeo/geocaching/IWaypoint.java
+++ b/main/src/cgeo/geocaching/IWaypoint.java
@@ -1,12 +1,14 @@
-/**
- *
- */
package cgeo.geocaching;
import cgeo.geocaching.enumerations.WaypointType;
public interface IWaypoint extends ILogable, ICoordinates {
+ /**
+ * Return an unique waypoint id.
+ *
+ * @return a non-negative id if set, -1 if unset
+ */
public abstract int getId();
public abstract WaypointType getWaypointType();