port TIunA to export framework, part 1

part 2 includes progress bars and options
This commit is contained in:
tildearrow 2024-08-13 16:50:13 -05:00
parent aad42210d7
commit bb5ad38fb6
12 changed files with 318 additions and 318 deletions

View file

@ -3589,6 +3589,12 @@ void DivEngine::synchronized(const std::function<void()>& what) {
BUSY_END;
}
void DivEngine::synchronizedSoft(const std::function<void()>& what) {
BUSY_BEGIN_SOFT;
what();
BUSY_END;
}
void DivEngine::lockSave(const std::function<void()>& what) {
saveLock.lock();
what();