port TIunA to export framework, part 1
part 2 includes progress bars and options
This commit is contained in:
parent
aad42210d7
commit
bb5ad38fb6
12 changed files with 318 additions and 318 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue