fix C++ type error for playground

This commit is contained in:
2021-09-18 18:33:44 -06:00
parent 65323a3d96
commit 1e44f1db11
4 changed files with 32 additions and 12 deletions

View File

@@ -9,9 +9,13 @@
&prop :EntryProcessor processEntry]
[])
(prop &mut :Null<EntryProcessor> onRemoveEntry)
(method :Void checkEntryInOrOut [:Archive archive :Entry e]
(if (canProcessEntry archive e)
(dictSet entries e.id e)
(entries.remove e.id)))
(when (entries.exists e.id)
(entries.remove e.id)
(when onRemoveEntry (onRemoveEntry archive e)))))
// TODO systems may need access to a UI