aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/enumerations/CacheRealm.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/enumerations/CacheRealm.java')
-rw-r--r--main/src/cgeo/geocaching/enumerations/CacheRealm.java22
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;
+ }
+}