diff options
| author | Karsten Priegnitz <koem@petoria.de> | 2011-09-09 18:08:47 +0200 |
|---|---|---|
| committer | Karsten Priegnitz <koem@petoria.de> | 2011-09-09 18:08:47 +0200 |
| commit | a946f2607f421a239e003967986e2454ded1ce0b (patch) | |
| tree | 9772da0dff556d032ca7b200c0684335d10897a2 /src/cgeo/geocaching/enumerations/CacheSize.java | |
| parent | 78708889fc24c267618766fd2ae2bc390574a23f (diff) | |
| download | cgeo-a946f2607f421a239e003967986e2454ded1ce0b.zip cgeo-a946f2607f421a239e003967986e2454ded1ce0b.tar.gz cgeo-a946f2607f421a239e003967986e2454ded1ce0b.tar.bz2 | |
use of new Locus API
Diffstat (limited to 'src/cgeo/geocaching/enumerations/CacheSize.java')
| -rwxr-xr-x | src/cgeo/geocaching/enumerations/CacheSize.java | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/cgeo/geocaching/enumerations/CacheSize.java b/src/cgeo/geocaching/enumerations/CacheSize.java new file mode 100755 index 0000000..b6b9d34 --- /dev/null +++ b/src/cgeo/geocaching/enumerations/CacheSize.java @@ -0,0 +1,27 @@ +package cgeo.geocaching.enumerations;
+
+import menion.android.locus.addon.publiclib.geoData.PointGeocachingData;
+
+/**
+ * Enum listing cache sizes
+ *
+ * @author koem
+ */
+public enum CacheSize {
+ MICRO ("micro", 1, PointGeocachingData.CACHE_SIZE_MICRO),
+ SMALL ("small", 2, PointGeocachingData.CACHE_SIZE_SMALL),
+ REGULAR ("regular", 3, PointGeocachingData.CACHE_SIZE_REGULAR),
+ LARGE ("large", 4, PointGeocachingData.CACHE_SIZE_LARGE),
+ NOT_CHOSEN ("not chosen", 0, PointGeocachingData.CACHE_SIZE_NOT_CHOSEN),
+ OTHER ("other", 0, PointGeocachingData.CACHE_SIZE_OTHER);
+
+ public final String cgeoId;
+ public final int comparable;
+ public final int locusId;
+
+ private CacheSize(String cgeoId, int comparable, int locusId) {
+ this.cgeoId = cgeoId;
+ this.comparable = comparable;
+ this.locusId = locusId;
+ }
+}
|
