aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/utils/Const.kt
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/utils/Const.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/utils/Const.kt16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/Const.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/Const.kt
new file mode 100644
index 00000000..61ba4a09
--- /dev/null
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Const.kt
@@ -0,0 +1,16 @@
+package com.pitchedapps.frost.utils
+
+/**
+ * Created by Allan Wang on 20/12/17.
+ */
+const val ACTIVITY_SETTINGS = 97
+/*
+ * Possible responses from the SettingsActivity
+ * after the configurations have changed
+ */
+const val REQUEST_RESTART_APPLICATION = 1 shl 11
+const val REQUEST_RESTART = 1 shl 12
+const val REQUEST_REFRESH = 1 shl 13
+const val REQUEST_TEXT_ZOOM = 1 shl 14
+const val REQUEST_NAV = 1 shl 15
+const val REQUEST_SEARCH = 1 shl 16 \ No newline at end of file