aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/apps/cache/CacheBeaconApp.java
blob: 1f38ca788770881d52400007228a22d9478df6a9 (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.Geocache;
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(Geocache cache) {
        return cache.hasAttribute(CacheAttribute.WIRELESS_BEACON, true);
    }

}