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

import cgeo.geocaching.R;
import cgeo.geocaching.cgCache;

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.type != null && cache.type.equalsIgnoreCase("wherigo");
    }
}