diff options
author | Allan Wang <me@allanwang.ca> | 2017-12-21 02:16:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-21 02:16:34 -0500 |
commit | d683cae6ffe644a9f63eea6cf3b7e59d2bde617b (patch) | |
tree | 517fe1d44c27084ccd87507d9804ba28f15c1647 /app/src/main/kotlin/com/pitchedapps/frost/utils/Const.kt | |
parent | 82f9aca96493316bc62008f2b3167d34a6029b38 (diff) | |
download | frost-d683cae6ffe644a9f63eea6cf3b7e59d2bde617b.tar.gz frost-d683cae6ffe644a9f63eea6cf3b7e59d2bde617b.tar.bz2 frost-d683cae6ffe644a9f63eea6cf3b7e59d2bde617b.zip |
Enhancement/fragment interface (#564)
* Begin fragment interfaces and themable contracts
* Prepare swiperefresh interface
* Snapshot
* Add compilable version
* Revamp once more
* Finalize layouts
* Cleanup
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.kt | 16 |
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 |