diff options
| author | rsudev <rasch@munin-soft.de> | 2013-06-27 17:46:41 +0200 |
|---|---|---|
| committer | rsudev <rasch@munin-soft.de> | 2013-06-27 17:46:41 +0200 |
| commit | dc53fa7be33f3052e39952112679c7b0e0b3b324 (patch) | |
| tree | 6fef9b63070a08177a13401e90de8916c4a72e91 /main/src/cgeo/geocaching/Geocache.java | |
| parent | cb90fff0100a40bdefae6b57a6b12e9c113b641f (diff) | |
| download | cgeo-dc53fa7be33f3052e39952112679c7b0e0b3b324.zip cgeo-dc53fa7be33f3052e39952112679c7b0e0b3b324.tar.gz cgeo-dc53fa7be33f3052e39952112679c7b0e0b3b324.tar.bz2 | |
Implements #2900, Support logging with password (oc)
Extends db, geocache and OKAPI to retrieve and store the property
Extends logging UI and OKAPI to allow entering and sending it
Diffstat (limited to 'main/src/cgeo/geocaching/Geocache.java')
| -rw-r--r-- | main/src/cgeo/geocaching/Geocache.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/Geocache.java b/main/src/cgeo/geocaching/Geocache.java index 68f716b..05423c3 100644 --- a/main/src/cgeo/geocaching/Geocache.java +++ b/main/src/cgeo/geocaching/Geocache.java @@ -135,6 +135,7 @@ public class Geocache implements ICache, IWaypoint { private String nameForSorting; private final EnumSet<StorageLocation> storageLocation = EnumSet.of(StorageLocation.HEAP); private boolean finalDefined = false; + private boolean logPasswordRequired = false; private int zoomlevel = Tile.ZOOMLEVEL_MAX + 1; private static final Pattern NUMBER_PATTERN = Pattern.compile("\\d+"); @@ -1770,4 +1771,12 @@ public class Geocache implements ICache, IWaypoint { public int getMapMarkerId() { return getConnector().getCacheMapMarkerId(isDisabled() || isArchived()); } + + public boolean isLogPasswordRequired() { + return logPasswordRequired; + } + + public void setLogPasswordRequired(boolean required) { + logPasswordRequired = required; + } } |
