aboutsummaryrefslogtreecommitdiff
path: root/src/net/cbaines/suma/Preferences.java
diff options
context:
space:
mode:
authorChristopher Baines <cbaines8@gmail.com>2012-02-02 18:39:00 +0000
committerChristopher Baines <cbaines8@gmail.com>2012-02-02 18:39:00 +0000
commit6fe849cc34a06a3f5d7662ea6a4566a870b3edfa (patch)
treeb8a3afd2adff9341932f540801e1c80151d55de9 /src/net/cbaines/suma/Preferences.java
parentb47ae24a17925619029500a56998860496ce308f (diff)
downloadsouthamptonuniversitymap-6fe849cc34a06a3f5d7662ea6a4566a870b3edfa.tar
southamptonuniversitymap-6fe849cc34a06a3f5d7662ea6a4566a870b3edfa.tar.gz
Improvements to the Preference management, begin allowing more bus data, need to rethink the data storage and retreval, perhaps using more semantic web stuff...
Diffstat (limited to 'src/net/cbaines/suma/Preferences.java')
-rw-r--r--src/net/cbaines/suma/Preferences.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/cbaines/suma/Preferences.java b/src/net/cbaines/suma/Preferences.java
new file mode 100644
index 0000000..e2c79a0
--- /dev/null
+++ b/src/net/cbaines/suma/Preferences.java
@@ -0,0 +1,12 @@
+package net.cbaines.suma;
+
+public interface Preferences {
+ static final String GPS_ENABLED = "GPSEnabled";
+ static final boolean GPS_ENABLED_BY_DEFAULT = true;
+ static final String UNI_LINK_BUS_TIMES = "uniLinkLiveBusTimesEnabled";
+ static final boolean UNI_LINK_BUS_TIMES_ENABLED_BY_DEFAULT = true;
+ static final String NON_UNI_LINK_BUS_TIMES = "nonUniLinkLiveBusTimesEnabled";
+ static final boolean NON_UNI_LINK_BUS_TIMES_ENABLED_BY_DEFAULT = false;
+ static final String NON_UNI_LINK_BUS_STOPS = "nonUniLinkBusStop";
+ static final boolean NON_UNI_LINK_BUS_STOPS_ENABLED_BY_DEFAULT = false;
+}