Add 'shf/' from commit 'b6c5a95b664aeb861d7b33ffc9eefe447ba99dd7'
git-subtree-dir: shf git-subtree-mainline:401408448fgit-subtree-split:b6c5a95b66
This commit is contained in:
10
shf/fcore/app-update.sml
Normal file
10
shf/fcore/app-update.sml
Normal file
@@ -0,0 +1,10 @@
|
||||
structure AppUpdate =
|
||||
struct
|
||||
open AppType
|
||||
|
||||
fun update (app: app_type, msg, time) =
|
||||
case #mode app of
|
||||
NORMAL_MODE modeData => NormalMode.update (app, modeData, msg, time)
|
||||
| NORMAL_SEARCH_MODE modeData =>
|
||||
NormalSearchMode.update (app, modeData, msg, time)
|
||||
end
|
||||
Reference in New Issue
Block a user