blob: 4ba336f2327b58bae3d8117b98f2b649b992843d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package cgeo.geocaching.apps.cache;
import cgeo.geocaching.R;
import cgeo.geocaching.cgCache;
import cgeo.geocaching.enumerations.CacheAttribute;
public class CacheBeaconApp extends AbstractGeneralApp {
public CacheBeaconApp() {
super(getString(R.string.cache_menu_cachebeacon), "de.fun2code.android.cachebeacon");
}
@Override
public boolean isEnabled(cgCache cache) {
return cache.hasAttribute(CacheAttribute.WIRELESS_BEACON, true);
}
}
|