diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2012-04-27 12:10:34 +0200 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2012-04-27 12:10:34 +0200 |
commit | af61aa12c6b9e0adffc69bae94a0ae28f9c3db7b (patch) | |
tree | 1d35a7bd63fc5abc81a47f37d6771b20fafe843c /main/src/cgeo | |
parent | 036c3168de8e06b647fb3002c7d77b447f548e18 (diff) | |
download | cgeo-af61aa12c6b9e0adffc69bae94a0ae28f9c3db7b.zip cgeo-af61aa12c6b9e0adffc69bae94a0ae28f9c3db7b.tar.gz cgeo-af61aa12c6b9e0adffc69bae94a0ae28f9c3db7b.tar.bz2 |
Define an interface from geographical data
This interface copies the existing methods and may be refined in the
future.
Diffstat (limited to 'main/src/cgeo')
-rw-r--r-- | main/src/cgeo/geocaching/IGeoData.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/IGeoData.java b/main/src/cgeo/geocaching/IGeoData.java new file mode 100644 index 0000000..d703d1a --- /dev/null +++ b/main/src/cgeo/geocaching/IGeoData.java @@ -0,0 +1,20 @@ +package cgeo.geocaching; + +import cgeo.geocaching.enumerations.LocationProviderType; +import cgeo.geocaching.geopoint.Geopoint; + +import android.location.Location; + +public interface IGeoData { + + public Location getLocation(); + public LocationProviderType getLocationProvider(); + public Geopoint getCoordsNow(); + public Double getAltitudeNow(); + public float getBearingNow(); + public float getSpeedNow(); + public float getAccuracyNow(); + public int getSatellitesVisible(); + public int getSatellitesFixed(); + +} |