aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/connector/capability/ISearchByCenter.java
blob: 576220db3a9a69301a28b75d5b6be96cb5cb17ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package cgeo.geocaching.connector.capability;

import cgeo.geocaching.SearchResult;
import cgeo.geocaching.connector.IConnector;
import cgeo.geocaching.loaders.RecaptchaReceiver;
import cgeo.geocaching.location.Geopoint;

import org.eclipse.jdt.annotation.NonNull;

/**
 * connector capability for online searching caches around a center coordinate, sorted by distance
 *
 */
public interface ISearchByCenter extends IConnector {
    public SearchResult searchByCenter(final @NonNull Geopoint center, final @NonNull RecaptchaReceiver recaptchaReceiver);
}