diff options
| author | rsudev <rasch@munin-soft.de> | 2012-12-31 15:15:07 +0100 |
|---|---|---|
| committer | rsudev <rasch@munin-soft.de> | 2012-12-31 15:15:07 +0100 |
| commit | 2da05e50f79c650e3e1e344e1209cb8f2f951c71 (patch) | |
| tree | d849489dd41f10453cae9244169c77d961616d23 /main/src/cgeo/geocaching/enumerations/CacheRealm.java | |
| parent | 6dad55f6843fee707c0d06df4b268563a7eb7374 (diff) | |
| download | cgeo-2da05e50f79c650e3e1e344e1209cb8f2f951c71.zip cgeo-2da05e50f79c650e3e1e344e1209cb8f2f951c71.tar.gz cgeo-2da05e50f79c650e3e1e344e1209cb8f2f951c71.tar.bz2 | |
Opencaching integration with oc11xml api
Implements load of cache details, coordinate search and viewport search
for opencaching.de based on oc11xml api
Diffstat (limited to 'main/src/cgeo/geocaching/enumerations/CacheRealm.java')
| -rw-r--r-- | main/src/cgeo/geocaching/enumerations/CacheRealm.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/enumerations/CacheRealm.java b/main/src/cgeo/geocaching/enumerations/CacheRealm.java new file mode 100644 index 0000000..5a203ab --- /dev/null +++ b/main/src/cgeo/geocaching/enumerations/CacheRealm.java @@ -0,0 +1,22 @@ +package cgeo.geocaching.enumerations; + +import cgeo.geocaching.R; + +public enum CacheRealm { + + GC("gc", "geocaching.com", R.drawable.marker, R.drawable.marker_disabled), + OC("oc", "OpenCaching Network", R.drawable.marker_oc, R.drawable.marker_disabled_oc), + OTHER("other", "Other", R.drawable.marker_other, R.drawable.marker_disabled_other); + + public final String id; + public final String name; + public final int markerId; + public final int markerDisabledId; + + CacheRealm(String id, String name, int markerId, int markerDisabledId) { + this.id = id; + this.name = name; + this.markerId = markerId; + this.markerDisabledId = markerDisabledId; + } +} |
