aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/apps/App.java
blob: 9d6d3718334e05cbc02a007a6a1c2d9dd3c8a0cb (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.cgCache;

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 cgCache cache);
}