blob: 8cb86e7840c4f9b5af9df267c194cf65503e7b1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
package cgeo.geocaching.apps.cache.navi;
import cgeo.geocaching.cgWaypoint;
import cgeo.geocaching.apps.AbstractApp;
import cgeo.geocaching.geopoint.Geopoint;
abstract class AbstractNavigationApp extends AbstractApp implements NavigationApp {
protected AbstractNavigationApp(String name, String intent, String packageName) {
super(name, intent, packageName);
}
protected AbstractNavigationApp(String name, String intent) {
super(name, intent);
}
@Override
public boolean isEnabled(cgWaypoint waypoint) {
return true;
}
@Override
public boolean isEnabled(Geopoint geopoint) {
return false;
}
}
|