aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/apps/App.java
blob: bc995262bf2bd0a969ee901cf54870bf245139a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package cgeo.geocaching.apps;

import cgeo.geocaching.Geocache;

public interface App {
    public boolean isInstalled();

    public boolean isDefaultNavigationApp();

    public String getName();

    int getId();

    /**
     * whether or not the app can be used with the given cache (may depend on properties of the cache)
     *
     * @param cache
     * @return
     */
    boolean isEnabled(final Geocache cache);
}