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

import cgeo.geocaching.cgCache;

public interface App {
    public boolean isInstalled();

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