aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/apps/cache/WhereYouGoApp.java
blob: 8c16eaf93ab2a4ee145425a82ebd6177895ab954 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package cgeo.geocaching.apps.cache;

import cgeo.geocaching.R;
import cgeo.geocaching.cgCache;
import cgeo.geocaching.enumerations.CacheType;

class WhereYouGoApp extends AbstractGeneralApp {
    WhereYouGoApp() {
        super(getString(R.string.cache_menu_whereyougo), "menion.android.whereyougo");
    }

    @Override
    public boolean isEnabled(cgCache cache) {
        return cache != null && cache.getType() == CacheType.WHERIGO;
    }
}