]> git.tdb.fi Git - libs/datafile.git/commit
Add a prepare() hook to Loader
authorMikko Rasa <tdb@tdb.fi>
Tue, 9 Jul 2024 13:29:16 +0000 (16:29 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 9 Jul 2024 13:29:16 +0000 (16:29 +0300)
commit5ce035b92001119f0ef259ae0b182bddfd064e46
tree4f92b2832b9780ecc6c561973e708f63b20d8f2a
parentf17aacae08eaf88403cd4a8378fa095c900bae7b
Add a prepare() hook to Loader

Also add an overload of finish() which is called even when an exception
occurs and receives a bool parameter to indicate if loading was
successful.
source/loader.cpp
source/loader.h