aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgCache.java
diff options
context:
space:
mode:
authorBananeweizen <Bananeweizen@gmx.de>2012-09-08 19:30:36 +0200
committerBananeweizen <Bananeweizen@gmx.de>2012-09-09 08:34:25 +0200
commit70bacd6a868db73d9a8cef23fe1885b5b147e991 (patch)
treed4168a54976a2a5ff8f5e5bf3562047b8b5aa511 /main/src/cgeo/geocaching/cgCache.java
parent566e6913d713ad5ca8ca2b0d81106d18d51dc736 (diff)
downloadcgeo-70bacd6a868db73d9a8cef23fe1885b5b147e991.zip
cgeo-70bacd6a868db73d9a8cef23fe1885b5b147e991.tar.gz
cgeo-70bacd6a868db73d9a8cef23fe1885b5b147e991.tar.bz2
refactoring: move static maps check API to cache
Diffstat (limited to 'main/src/cgeo/geocaching/cgCache.java')
-rw-r--r--main/src/cgeo/geocaching/cgCache.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/cgCache.java b/main/src/cgeo/geocaching/cgCache.java
index d22999d..43adc61 100644
--- a/main/src/cgeo/geocaching/cgCache.java
+++ b/main/src/cgeo/geocaching/cgCache.java
@@ -1611,4 +1611,8 @@ public class cgCache implements ICache, IWaypoint {
}
return fullCache.getAttributes().contains(attribute.getAttributeName(yes));
}
+
+ public boolean hasStaticMap() {
+ return StaticMapsProvider.hasStaticMap(this);
+ }
} \ No newline at end of file