aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/apps/cache/WhereYouGoApp.java
blob: 63d95f4b98fe2d1dad6acd1cc78fe1e35367e261 (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.CacheType;

import android.content.res.Resources;

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

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